#7859F2#7859F2
#7859F2 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.218 H 286.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7859F2 |
|---|---|
| RGB | rgb(120, 89, 242) |
| HSL | hsl(252, 85%, 65%) |
| HSV | hsv(252, 63%, 95%) |
| CMYK | cmyk(50.4%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(48.94, 50.14, -72.86) |
| CIE-LCH | lch(48.94, 88.44, 304.53°) |
| OKLab | oklab(58.12% 0.0631 -0.2089) |
| OKLCH | oklch(58.12% 0.218 286.8) |
| XYZ | xyz(27.3404, 17.5473, 85.9335) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.35
Mediumslateblue
#7B68EE
ΔE00 4.19
Light Indigo
#6D5ACF
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.64
Dark Periwinkle
#665FD1
ΔE00 5.69
Purpleish Blue
#6140EF
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7859F2 #D3F259
analogous
#5986F2 #7859F2 #C559F2
triadic
#7859F2 #F27859 #59F278
tetradic
#7859F2 #F25986 #D3F259 #59F2C5
square
#7859F2 #F25986 #D3F259 #59F2C5
split-complementary
#7859F2 #F2C559 #86F259
monochromatic
#330FC1 #4A20EE #7859F2 #A692F6 #D4CBFB
Accessibility & contrast
On white
4.66
#7859F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7859F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7859F2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7859F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7859F2 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#4A7E9E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7859f2; /* rgb */ color: rgb(120, 89, 242); /* oklch */ color: oklch(58.1% 0.218 286.8);
Tailwind
colors: {
custom: {
50: '#a889f7',
500: '#7859f2',
950: '#000000',
},
}SCSS
$custom: #7859f2; $custom-light: #a889f7; $custom-dark: #000000;
JSON
{
"hex": "#7859f2",
"rgb": {
"r": 120,
"g": 89,
"b": 242
},
"hsl": {
"h": 252.157,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.58119,
"c": 0.21824,
"h": 286.8
},
"luminance": 0.17549
}Semantic roles & 50–950 ramp
primary
#7859F2
secondary
#E3EDB9
accent
#E204B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85