#7858C8#7858C8
#7858C8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.167 H 293.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7858C8 |
|---|---|
| RGB | rgb(120, 88, 200) |
| HSL | hsl(257, 50%, 56%) |
| HSV | hsv(257, 56%, 78%) |
| CMYK | cmyk(40%, 56%, 0%, 21.6%) |
| CIE-LAB | lab(45.83, 38.90, -54.03) |
| CIE-LCH | lch(45.83, 66.58, 305.75°) |
| OKLab | oklab(54.92% 0.0661 -0.1536) |
| OKLCH | oklch(54.92% 0.167 293.3) |
| XYZ | xyz(21.6580, 15.1421, 56.4140) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.65
Slate Blue
#6A5ACD
ΔE00 3.06
Iris
#6258C4
ΔE00 4.30
Dark Periwinkle
#665FD1
ΔE00 4.66
Purpley
#8756E4
ΔE00 4.71
Royal Purple
#7851A9
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7858C8 #A8C858
analogous
#5870C8 #7858C8 #B058C8
triadic
#7858C8 #C87858 #58C878
tetradic
#7858C8 #C85870 #A8C858 #58C8B0
square
#7858C8 #C85870 #A8C858 #58C8B0
split-complementary
#7858C8 #C8B058 #70C858
monochromatic
#41297D #5938AB #7858C8 #9D86D7 #C2B4E6
Accessibility & contrast
On white
5.21
#7858C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#7858C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7858C8
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7858C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7858C8 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6ECC
Deuteranopia (green-blind)
#286BC6
Tritanopia (blue-blind)
#637087
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7858c8; /* rgb */ color: rgb(120, 88, 200); /* oklch */ color: oklch(54.9% 0.167 293.3);
Tailwind
colors: {
custom: {
50: '#a488d9',
500: '#7858c8',
950: '#000000',
},
}SCSS
$custom: #7858c8; $custom-light: #a488d9; $custom-dark: #000000;
JSON
{
"hex": "#7858c8",
"rgb": {
"r": 120,
"g": 88,
"b": 200
},
"hsl": {
"h": 257.143,
"s": 50.45,
"l": 56.471
},
"oklch": {
"l": 0.54924,
"c": 0.16718,
"h": 293.3
},
"luminance": 0.15143
}Semantic roles & 50–950 ramp
primary
#7858C8
secondary
#C8D5A7
accent
#DA4EB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83