#7858DC#7858DC
#7858DC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.193 H 290.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7858DC |
|---|---|
| RGB | rgb(120, 88, 220) |
| HSL | hsl(255, 65%, 60%) |
| HSV | hsv(255, 60%, 86%) |
| CMYK | cmyk(45.5%, 60%, 0%, 13.7%) |
| CIE-LAB | lab(47.16, 44.46, -63.34) |
| CIE-LCH | lch(47.16, 77.39, 305.07°) |
| OKLab | oklab(56.32% 0.0657 -0.1809) |
| OKLCH | oklch(56.32% 0.193 290) |
| XYZ | xyz(24.1501, 16.1389, 69.5389) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.73
Purpley
#8756E4
ΔE00 2.85
Slate Blue
#6A5ACD
ΔE00 3.32
Dark Periwinkle
#665FD1
ΔE00 4.26
Iris
#6258C4
ΔE00 5.21
Mediumslateblue
#7B68EE
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7858DC #BCDC58
analogous
#587ADC #7858DC #BA58DC
triadic
#7858DC #DC7858 #58DC78
tetradic
#7858DC #DC587A #BCDC58 #58DCBA
square
#7858DC #DC587A #BCDC58 #58DCBA
split-complementary
#7858DC #DCBA58 #7ADC58
monochromatic
#3E2099 #522BCC #7858DC #A18BE7 #CABDF1
Accessibility & contrast
On white
4.97
#7858DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7858DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7858DC
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7858DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7858DC | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#597692
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7858dc; /* rgb */ color: rgb(120, 88, 220); /* oklch */ color: oklch(56.3% 0.193 290.0);
Tailwind
colors: {
custom: {
50: '#a688e8',
500: '#7858dc',
950: '#000000',
},
}SCSS
$custom: #7858dc; $custom-light: #a688e8; $custom-dark: #000000;
JSON
{
"hex": "#7858dc",
"rgb": {
"r": 120,
"g": 88,
"b": 220
},
"hsl": {
"h": 254.545,
"s": 65.347,
"l": 60.392
},
"oklch": {
"l": 0.56322,
"c": 0.19251,
"h": 290
},
"luminance": 0.1614
}Semantic roles & 50–950 ramp
primary
#7858DC
secondary
#D5E1AF
accent
#CD18A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84