#785BCA#785BCA
#785BCA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.165 H 292.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #785BCA |
|---|---|
| RGB | rgb(120, 91, 202) |
| HSL | hsl(256, 51%, 57%) |
| HSV | hsv(256, 55%, 79%) |
| CMYK | cmyk(40.6%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(46.63, 37.71, -53.90) |
| CIE-LCH | lch(46.63, 65.78, 304.98°) |
| OKLab | oklab(55.56% 0.0625 -0.1532) |
| OKLCH | oklch(55.56% 0.165 292.2) |
| XYZ | xyz(22.1446, 15.7389, 57.7368) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.37
Slate Blue
#6A5ACD
ΔE00 2.83
Dark Periwinkle
#665FD1
ΔE00 4.11
Iris
#6258C4
ΔE00 4.31
Purpley
#8756E4
ΔE00 4.58
Royal Purple
#7851A9
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#785BCA #ADCA5B
analogous
#5B75CA #785BCA #B05BCA
triadic
#785BCA #CA785B #5BCA78
tetradic
#785BCA #CA5B75 #ADCA5B #5BCAB0
square
#785BCA #CA5B75 #ADCA5B #5BCAB0
split-complementary
#785BCA #CAB05B #75CA5B
monochromatic
#402A81 #5839AF #785BCA #9E89D9 #C4B8E8
Accessibility & contrast
On white
5.06
#785BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#785BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #785BCA
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##785BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##785BCA | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#2B6CC8
Tritanopia (blue-blind)
#62728A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #785bca; /* rgb */ color: rgb(120, 91, 202); /* oklch */ color: oklch(55.6% 0.165 292.2);
Tailwind
colors: {
custom: {
50: '#a48adb',
500: '#785bca',
950: '#000000',
},
}SCSS
$custom: #785bca; $custom-light: #a48adb; $custom-dark: #000000;
JSON
{
"hex": "#785bca",
"rgb": {
"r": 120,
"g": 91,
"b": 202
},
"hsl": {
"h": 255.676,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.55557,
"c": 0.16541,
"h": 292.2
},
"luminance": 0.1574
}Semantic roles & 50–950 ramp
primary
#785BCA
secondary
#CBD7AA
accent
#DB4DB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83