#7859F6#7859F6
#7859F6 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.223 H 286.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7859F6 |
|---|---|
| RGB | rgb(120, 89, 246) |
| HSL | hsl(252, 90%, 66%) |
| HSV | hsv(252, 64%, 96%) |
| CMYK | cmyk(51.2%, 63.8%, 0%, 3.5%) |
| CIE-LAB | lab(49.24, 51.28, -74.61) |
| CIE-LCH | lch(49.24, 90.53, 304.50°) |
| OKLab | oklab(58.43% 0.0627 -0.2141) |
| OKLCH | oklch(58.43% 0.223 286.3) |
| XYZ | xyz(27.9477, 17.7902, 89.1321) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.66
Mediumslateblue
#7B68EE
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 6.08
Slate Blue
#6A5ACD
ΔE00 6.11
Purpleish Blue
#6140EF
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7859F6 #D7F659
analogous
#5988F6 #7859F6 #C659F6
triadic
#7859F6 #F67859 #59F678
tetradic
#7859F6 #F65988 #D7F659 #59F6C6
square
#7859F6 #F65988 #D7F659 #59F6C6
split-complementary
#7859F6 #F6C659 #88F659
monochromatic
#310BCA #491FF3 #7859F6 #A793F9 #D6CDFC
Accessibility & contrast
On white
4.61
#7859F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7859F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7859F6
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7859F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7859F6 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#4780A0
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7859f6; /* rgb */ color: rgb(120, 89, 246); /* oklch */ color: oklch(58.4% 0.223 286.3);
Tailwind
colors: {
custom: {
50: '#a98afa',
500: '#7859f6',
950: '#000000',
},
}SCSS
$custom: #7859f6; $custom-light: #a98afa; $custom-dark: #000000;
JSON
{
"hex": "#7859f6",
"rgb": {
"r": 120,
"g": 89,
"b": 246
},
"hsl": {
"h": 251.847,
"s": 89.714,
"l": 65.686
},
"oklch": {
"l": 0.58429,
"c": 0.22306,
"h": 286.3
},
"luminance": 0.17792
}Semantic roles & 50–950 ramp
primary
#7859F6
secondary
#E5F0BB
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85