Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

FormatColor
HSL274°, 27%, 46%
CIELCh43, 39.865, 313.403
Yxy13.2294, 0.2809, 0.2175
Android (android.graphics.Color)4286273430 (0xFF7B5796)
YUV104.9460, 22.2116, 15.8334

Add this color to the bucket
(The bucket allows you to create a color palette)

Go to the color bucket to see your palette.

Get Conversions and Harmonies as JSON or XML via the REST API.


Details

The RYB color 123, 87, 150 is a dark color, and the websafe version is hex 996699. A complement of this color would be 87, 150, 123, and the grayscale version is 105, 105, 105.

A 20% lighter version of the original color is 177, 138, 204, and 73, 40, 99 is the 20% darker color. If you saturate the color by 10%, you get 117, 72, 150, and if you desaturate by 10%, it is 129, 102, 150.

Distribution

RGB Color DistributionThe distribution of the RGB values, red, green and blue.RedThe Perecentage of Red in the Color.GreenThe Perecentage of Green in the Color.BlueThe Perecentage of Blue in the Color.RGB
RYB Color DistributionThe distribution of the RYB values, red, yellow and blue.RedThe Perecentage of Red in the Color.YellowThe Perecentage of Yellow in the Color.BlueThe Perecentage of Blue in the Color.RYB
CMYK Color DistributionThe distribution of the CMYK values, Cyan, Magenta, Yellow and Black.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.BlackThe Perecentage of Black in the Color.CMYK
CMY Color DistributionThe distribution of the CMY values, Cyan, Magenta, Yellow.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.CMY

Brightness Gradient

These gradients show how the RYB color 123, 87, 150 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

Brightness GradientThese gradients show how the {format} color {color} changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.123, 87, 150The Color 123, 87, 150.255, 255, 255The Color 255, 255, 255.255, 248, 255The Color 255, 248, 255.255, 219, 255The Color 255, 219, 255.233, 191, 255The Color 233, 191, 255.204, 164, 233The Color 204, 164, 233.177, 138, 204The Color 177, 138, 204.149, 112, 177The Color 149, 112, 177.123, 87, 150The Color 123, 87, 150.Brightness Gradient
Brightness GradientThese gradients show how the {format} color {color} changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.123, 87, 150The Color 123, 87, 150.0, 0, 0The Color 0, 0, 0.0, 2, 30The Color 0, 2, 30.27, 0, 52The Color 27, 0, 52.48, 18, 75The Color 48, 18, 75.73, 40, 99The Color 73, 40, 99.97, 63, 124The Color 97, 63, 124.123, 87, 150The Color 123, 87, 150.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the RYB color 123, 87, 150 by changing the saturation by 10% instead.

Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.123, 87, 150The Color 123, 87, 150.86, 0, 150The Color 86, 0, 150.91, 12, 150The Color 91, 12, 150.97, 27, 150The Color 97, 27, 150.104, 42, 150The Color 104, 42, 150.110, 57, 150The Color 110, 57, 150.117, 72, 150The Color 117, 72, 150.123, 87, 150The Color 123, 87, 150.Saturation Gradient
Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.123, 87, 150The Color 123, 87, 150.150, 222, 191The Color 150, 222, 191.150, 207, 183The Color 150, 207, 183.150, 192, 174The Color 150, 192, 174.150, 177, 165The Color 150, 177, 165.150, 162, 157The Color 150, 162, 157.149, 147, 150The Color 149, 147, 150.142, 132, 150The Color 142, 132, 150.136, 117, 150The Color 136, 117, 150.129, 102, 150The Color 129, 102, 150.123, 87, 150The Color 123, 87, 150.Saturation Gradient

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

AnalogousThe analogous color harmony consists of three colors that are next to each other on the color wheel.70, 93, 166The Color 70, 93, 166.153, 75, 121The Color 153, 75, 121.123, 87, 150The Color 123, 87, 150.70, 93, 166The Color 70, 93, 166.Analogous

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

TriadThe triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.123, 87, 150The Color 123, 87, 150.0, 60, 118The Color 0, 60, 118.107, 135, 37The Color 107, 135, 37.123, 87, 150The Color 123, 87, 150.Triad

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

ComplementaryThe complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.123, 87, 150The Color 123, 87, 150.87, 150, 123The Color 87, 150, 123.123, 87, 150The Color 123, 87, 150.Complementary

Split Complementary

Split-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.

Split ComplementarySplit-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.0, 69, 117The Color 0, 69, 117.34, 106, 33The Color 34, 106, 33.123, 87, 150The Color 123, 87, 150.0, 69, 117The Color 0, 69, 117.Split Complementary

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

SquareThe square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.123, 87, 150The Color 123, 87, 150.0, 65, 146The Color 0, 65, 146.52, 113, 96The Color 52, 113, 96.156, 88, 58The Color 156, 88, 58.123, 87, 150The Color 123, 87, 150.Square

Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

RectangleThe rectangle color scheme consists of four colors that form a rectangle on the color wheel.123, 87, 150The Color 123, 87, 150.0, 62, 118The Color 0, 62, 118.52, 113, 96The Color 52, 113, 96.162, 72, 99The Color 162, 72, 99.123, 87, 150The Color 123, 87, 150.Rectangle

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.123, 87, 150The Color 123, 87, 150.97, 97, 97The Color 97, 97, 97.224, 224, 224The Color 224, 224, 224.90, 81, 97The Color 90, 81, 97.87, 106, 150The Color 87, 106, 150.183, 169, 194The Color 183, 169, 194.123, 87, 150The Color 123, 87, 150.Sweetspot

SVG Images

A selection of SVG images using the hex version #7B5796 of the current color.

#7B5796

Previews

White Background

This preview shows how the RYB color 123, 87, 150 looks on a white background.

The color contrast ratio for these colors is 5.76, which passes the AA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for any text size and the AAA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

This preview shows how the RYB color 123, 87, 150 looks on a black background.

The color contrast ratio for these colors is 3.65, which passes the AA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

RYB 123, 87, 150 Background

This preview shows how black text looks on a background with the RYB color 123, 87, 150.

This preview shows how white text looks on a background with the RYB color 123, 87, 150.


CSS Examples


The CSS property to change the color of the text to RYB 123, 87, 150 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(123, 87, 150) }.

This example shows how text in the color rgb(123, 87, 150) looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px rgb(123, 87, 150) }.

Here you see how black text with a 4 pixel rgb(123, 87, 150) colored shadow looks like.

Border

This example shows the color as border, it can be applied via the CSS property "border" or "border-color".

The CSS property to change the border of an element to RYB 123, 87, 150 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid rgb(123, 87, 150) }.

If only the border color should be changed .border{ border-color:rgb(123, 87, 150) } can be used.

Here you see how a box with a 4 pixel rgb(123, 87, 150) colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px rgb(123, 87, 150); -webkit-box-shadow:4px 4px 4px 4px rgb(123, 87, 150); box-shadow:4px 4px 4px 4px rgb(123, 87, 150) }.

Background

The CSS property to change the background color of an element to RYB 123, 87, 150 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(123, 87, 150) }.

If only the background color should be changed .background{ background-color:rgb(123, 87, 150) } can be used.

This example shows the color as background, it is applied via the CSS property "background".



To optimize and compress your CSS code, you can use our online CSS compressor and optimizer based on csstidy. If you want to create a linear gradient as background or border, check our CSS Gradient Generator.

Upskill your career and get 10% off on a Udacity Nanodegrees ProgramAdvertisment🛈

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "7B5796", into the input field and click on convert. The result will be in the section Color Conversions, and the following sections will provide you with further details on the color.

Some color formats use the same notation, and the conversion will guess the composition of the search query. As an example, if you try to convert the string "274°, 42%, 59%" it could be an HSV or HSL color, the conversion will assume HSL in this case.

As this could lead to wrong conversions, you can define which format you are passing by wrapping your color string in brackets with the format in front. The search string "HSV(274°, 42%, 59%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(43.11, 27.39, -28.96)", "CIELCH(43, 39.865, 313.403)", "YXY(13.2294, 0.2809, 0.2175)" and "CMYK(0.18, 0.42, 0.00, 0.41)".