#785BCD#785BCD
#785BCD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.169 H 291.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #785BCD |
|---|---|
| RGB | rgb(120, 91, 205) |
| HSL | hsl(255, 53%, 58%) |
| HSV | hsv(255, 56%, 80%) |
| CMYK | cmyk(41.5%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(46.82, 38.54, -55.32) |
| CIE-LCH | lch(46.82, 67.42, 304.87°) |
| OKLab | oklab(55.76% 0.0626 -0.1573) |
| OKLCH | oklch(55.76% 0.169 291.7) |
| XYZ | xyz(22.5033, 15.8824, 59.6257) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.19
Slate Blue
#6A5ACD
ΔE00 2.71
Dark Periwinkle
#665FD1
ΔE00 3.93
Purpley
#8756E4
ΔE00 4.23
Iris
#6258C4
ΔE00 4.36
Mediumslateblue
#7B68EE
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#785BCD #B0CD5B
analogous
#5B77CD #785BCD #B15BCD
triadic
#785BCD #CD785B #5BCD78
tetradic
#785BCD #CD5B77 #B0CD5B #5BCDB1
square
#785BCD #CD5B77 #B0CD5B #5BCDB1
split-complementary
#785BCD #CDB15B #77CD5B
monochromatic
#402985 #5737B4 #785BCD #9F8ADB #C5B9EA
Accessibility & contrast
On white
5.03
#785BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#785BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #785BCD
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##785BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##785BCD | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#61738B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #785bcd; /* rgb */ color: rgb(120, 91, 205); /* oklch */ color: oklch(55.8% 0.169 291.7);
Tailwind
colors: {
custom: {
50: '#a48add',
500: '#785bcd',
950: '#000000',
},
}SCSS
$custom: #785bcd; $custom-light: #a48add; $custom-dark: #000000;
JSON
{
"hex": "#785bcd",
"rgb": {
"r": 120,
"g": 91,
"b": 205
},
"hsl": {
"h": 255.263,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.55758,
"c": 0.16931,
"h": 291.7
},
"luminance": 0.15883
}Semantic roles & 50–950 ramp
primary
#785BCD
secondary
#CDD9AB
accent
#DD4BB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83