#7865CA#7865CA
#7865CA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.3% C 0.151 H 289.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7865CA |
|---|---|
| RGB | rgb(120, 101, 202) |
| HSL | hsl(251, 49%, 59%) |
| HSV | hsv(251, 50%, 79%) |
| CMYK | cmyk(40.6%, 50%, 0%, 20.8%) |
| CIE-LAB | lab(48.96, 31.82, -50.16) |
| CIE-LCH | lch(48.96, 59.40, 302.39°) |
| OKLab | oklab(57.29% 0.0501 -0.1422) |
| OKLCH | oklch(57.29% 0.151 289.4) |
| XYZ | xyz(23.0571, 17.5640, 58.0410) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.02
Dark Periwinkle
#665FD1
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.26
Mediumslateblue
#7B68EE
ΔE00 5.47
Iris
#6258C4
ΔE00 5.61
Purpley
#8756E4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7865CA #B7CA65
analogous
#6585CA #7865CA #AB65CA
triadic
#7865CA #CA7865 #65CA78
tetradic
#7865CA #CA6585 #B7CA65 #65CAAB
square
#7865CA #CA6585 #B7CA65 #65CAAB
split-complementary
#7865CA #CAAB65 #85CA65
monochromatic
#3F2E86 #543EB4 #7865CA #A093DA #C8C0E9
Accessibility & contrast
On white
4.65
#7865CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7865CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7865CA
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7865CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7865CA | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C76CE
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#617A8E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7865ca; /* rgb */ color: rgb(120, 101, 202); /* oklch */ color: oklch(57.3% 0.151 289.4);
Tailwind
colors: {
custom: {
50: '#a391db',
500: '#7865ca',
950: '#000000',
},
}SCSS
$custom: #7865ca; $custom-light: #a391db; $custom-dark: #000000;
JSON
{
"hex": "#7865ca",
"rgb": {
"r": 120,
"g": 101,
"b": 202
},
"hsl": {
"h": 251.287,
"s": 48.792,
"l": 59.412
},
"oklch": {
"l": 0.57293,
"c": 0.15073,
"h": 289.4
},
"luminance": 0.17565
}Semantic roles & 50–950 ramp
primary
#7865CA
secondary
#D2D9B2
accent
#D84FBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0D15
muted
#7F7D83