#7859CF#7859CF
#7859CF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.175 H 291.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7859CF |
|---|---|
| RGB | rgb(120, 89, 207) |
| HSL | hsl(256, 55%, 58%) |
| HSV | hsv(256, 57%, 81%) |
| CMYK | cmyk(42%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(46.50, 40.26, -56.98) |
| CIE-LCH | lch(46.50, 69.76, 305.24°) |
| OKLab | oklab(55.56% 0.0649 -0.1622) |
| OKLCH | oklch(55.56% 0.175 291.8) |
| XYZ | xyz(22.5775, 15.6422, 60.8491) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.16
Slate Blue
#6A5ACD
ΔE00 2.72
Purpley
#8756E4
ΔE00 3.91
Dark Periwinkle
#665FD1
ΔE00 4.11
Iris
#6258C4
ΔE00 4.38
Mediumslateblue
#7B68EE
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7859CF #B0CF59
analogous
#5975CF #7859CF #B359CF
triadic
#7859CF #CF7859 #59CF78
tetradic
#7859CF #CF5975 #B0CF59 #59CFB3
square
#7859CF #CF5975 #B0CF59 #59CFB3
split-complementary
#7859CF #CFB359 #75CF59
monochromatic
#402787 #5735B6 #7859CF #9F88DD #C5B8EA
Accessibility & contrast
On white
5.09
#7859CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7859CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7859CF
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7859CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7859CF | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#60738B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7859cf; /* rgb */ color: rgb(120, 89, 207); /* oklch */ color: oklch(55.6% 0.175 291.8);
Tailwind
colors: {
custom: {
50: '#a489de',
500: '#7859cf',
950: '#000000',
},
}SCSS
$custom: #7859cf; $custom-light: #a489de; $custom-dark: #000000;
JSON
{
"hex": "#7859cf",
"rgb": {
"r": 120,
"g": 89,
"b": 207
},
"hsl": {
"h": 255.763,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.55564,
"c": 0.17472,
"h": 291.8
},
"luminance": 0.15643
}Semantic roles & 50–950 ramp
primary
#7859CF
secondary
#CDD9AA
accent
#DE49B7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83