#785BCE#785BCE
#785BCE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.171 H 291.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #785BCE |
|---|---|
| RGB | rgb(120, 91, 206) |
| HSL | hsl(255, 54%, 58%) |
| HSV | hsv(255, 56%, 81%) |
| CMYK | cmyk(41.7%, 55.8%, 0%, 19.2%) |
| CIE-LAB | lab(46.88, 38.82, -55.79) |
| CIE-LCH | lch(46.88, 67.97, 304.83°) |
| OKLab | oklab(55.83% 0.0626 -0.1587) |
| OKLCH | oklch(55.83% 0.171 291.5) |
| XYZ | xyz(22.6243, 15.9308, 60.2635) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.15
Slate Blue
#6A5ACD
ΔE00 2.69
Dark Periwinkle
#665FD1
ΔE00 3.88
Purpley
#8756E4
ΔE00 4.13
Iris
#6258C4
ΔE00 4.38
Mediumslateblue
#7B68EE
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#785BCE #B1CE5B
analogous
#5B77CE #785BCE #B15BCE
triadic
#785BCE #CE785B #5BCE78
tetradic
#785BCE #CE5B77 #B1CE5B #5BCEB1
square
#785BCE #CE5B77 #B1CE5B #5BCEB1
split-complementary
#785BCE #CEB15B #77CE5B
monochromatic
#402886 #5636B6 #785BCE #9F8ADC #C6B9EA
Accessibility & contrast
On white
5.02
#785BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#785BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #785BCE
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##785BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##785BCE | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#256DCB
Tritanopia (blue-blind)
#60748C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #785bce; /* rgb */ color: rgb(120, 91, 206); /* oklch */ color: oklch(55.8% 0.171 291.5);
Tailwind
colors: {
custom: {
50: '#a48ade',
500: '#785bce',
950: '#000000',
},
}SCSS
$custom: #785bce; $custom-light: #a48ade; $custom-dark: #000000;
JSON
{
"hex": "#785bce",
"rgb": {
"r": 120,
"g": 91,
"b": 206
},
"hsl": {
"h": 255.13,
"s": 53.991,
"l": 58.235
},
"oklch": {
"l": 0.55825,
"c": 0.17059,
"h": 291.5
},
"luminance": 0.15931
}Semantic roles & 50–950 ramp
primary
#785BCE
secondary
#CED9AB
accent
#DD4AB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83