#7859CB#7859CB
#7859CB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.3% C 0.170 H 292.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7859CB |
|---|---|
| RGB | rgb(120, 89, 203) |
| HSL | hsl(256, 52%, 57%) |
| HSV | hsv(256, 56%, 80%) |
| CMYK | cmyk(40.9%, 56.2%, 0%, 20.4%) |
| CIE-LAB | lab(46.24, 39.15, -55.09) |
| CIE-LCH | lch(46.24, 67.59, 305.39°) |
| OKLab | oklab(55.29% 0.0649 -0.1567) |
| OKLCH | oklch(55.29% 0.17 292.5) |
| XYZ | xyz(22.0947, 15.4490, 58.3062) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.34
Slate Blue
#6A5ACD
ΔE00 2.82
Iris
#6258C4
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 4.31
Purpley
#8756E4
ΔE00 4.36
Royal Purple
#7851A9
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7859CB #ACCB59
analogous
#5973CB #7859CB #B159CB
triadic
#7859CB #CB7859 #59CB78
tetradic
#7859CB #CB5973 #ACCB59 #59CBB1
square
#7859CB #CB5973 #ACCB59 #59CBB1
split-complementary
#7859CB #CBB159 #73CB59
monochromatic
#412881 #5837B0 #7859CB #9E88DA #C4B6E8
Accessibility & contrast
On white
5.13
#7859CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#7859CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7859CB
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7859CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7859CB | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#256BC8
Tritanopia (blue-blind)
#627189
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7859cb; /* rgb */ color: rgb(120, 89, 203); /* oklch */ color: oklch(55.3% 0.170 292.5);
Tailwind
colors: {
custom: {
50: '#a489db',
500: '#7859cb',
950: '#000000',
},
}SCSS
$custom: #7859cb; $custom-light: #a489db; $custom-dark: #000000;
JSON
{
"hex": "#7859cb",
"rgb": {
"r": 120,
"g": 89,
"b": 203
},
"hsl": {
"h": 256.316,
"s": 52.294,
"l": 57.255
},
"oklch": {
"l": 0.55291,
"c": 0.1696,
"h": 292.5
},
"luminance": 0.1545
}Semantic roles & 50–950 ramp
primary
#7859CB
secondary
#CAD7A9
accent
#DC4CB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83