#7864CD#7864CD
#7864CD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.3% C 0.156 H 289.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7864CD |
|---|---|
| RGB | rgb(120, 100, 205) |
| HSL | hsl(251, 51%, 60%) |
| HSV | hsv(251, 51%, 80%) |
| CMYK | cmyk(41.5%, 51.2%, 0%, 19.6%) |
| CIE-LAB | lab(48.90, 33.26, -51.98) |
| CIE-LCH | lch(48.90, 61.71, 302.62°) |
| OKLab | oklab(57.3% 0.0516 -0.1475) |
| OKLCH | oklch(57.3% 0.156 289.3) |
| XYZ | xyz(23.3193, 17.5144, 59.8977) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.64
Dark Periwinkle
#665FD1
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 3.94
Mediumslateblue
#7B68EE
ΔE00 5.08
Iris
#6258C4
ΔE00 5.45
Purpley
#8756E4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7864CD #B9CD64
analogous
#6484CD #7864CD #AD64CD
triadic
#7864CD #CD7864 #64CD78
tetradic
#7864CD #CD6484 #B9CD64 #64CDAD
square
#7864CD #CD6484 #B9CD64 #64CDAD
split-complementary
#7864CD #CDAD64 #84CD64
monochromatic
#3E2D8A #533BB8 #7864CD #A092DC #C9C1EB
Accessibility & contrast
On white
4.66
#7864CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7864CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7864CD
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7864CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7864CD | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3776D1
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#607A8F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7864cd; /* rgb */ color: rgb(120, 100, 205); /* oklch */ color: oklch(57.3% 0.156 289.3);
Tailwind
colors: {
custom: {
50: '#a390dd',
500: '#7864cd',
950: '#000000',
},
}SCSS
$custom: #7864cd; $custom-light: #a390dd; $custom-dark: #000000;
JSON
{
"hex": "#7864cd",
"rgb": {
"r": 120,
"g": 100,
"b": 205
},
"hsl": {
"h": 251.429,
"s": 51.22,
"l": 59.804
},
"oklch": {
"l": 0.57304,
"c": 0.15625,
"h": 289.3
},
"luminance": 0.17515
}Semantic roles & 50–950 ramp
primary
#7864CD
secondary
#D3DBB2
accent
#DB4DC0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83