#7863CD#7863CD
#7863CD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.158 H 289.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7863CD |
|---|---|
| RGB | rgb(120, 99, 205) |
| HSL | hsl(252, 51%, 60%) |
| HSV | hsv(252, 52%, 80%) |
| CMYK | cmyk(41.5%, 51.7%, 0%, 19.6%) |
| CIE-LAB | lab(48.67, 33.86, -52.35) |
| CIE-LCH | lch(48.67, 62.35, 302.89°) |
| OKLab | oklab(57.13% 0.0528 -0.1486) |
| OKLCH | oklch(57.13% 0.158 289.6) |
| XYZ | xyz(23.2240, 17.3238, 59.8660) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.39
Dark Periwinkle
#665FD1
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 3.72
Mediumslateblue
#7B68EE
ΔE00 5.17
Iris
#6258C4
ΔE00 5.26
Purpley
#8756E4
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7863CD #B8CD63
analogous
#6383CD #7863CD #AD63CD
triadic
#7863CD #CD7863 #63CD78
tetradic
#7863CD #CD6383 #B8CD63 #63CDAD
square
#7863CD #CD6383 #B8CD63 #63CDAD
split-complementary
#7863CD #CDAD63 #83CD63
monochromatic
#3F2C8A #543BB8 #7863CD #A091DC #C8C0EB
Accessibility & contrast
On white
4.70
#7863CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7863CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7863CD
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7863CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7863CD | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#60798F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7863cd; /* rgb */ color: rgb(120, 99, 205); /* oklch */ color: oklch(57.1% 0.158 289.6);
Tailwind
colors: {
custom: {
50: '#a490dd',
500: '#7863cd',
950: '#000000',
},
}SCSS
$custom: #7863cd; $custom-light: #a490dd; $custom-dark: #000000;
JSON
{
"hex": "#7863cd",
"rgb": {
"r": 120,
"g": 99,
"b": 205
},
"hsl": {
"h": 251.887,
"s": 51.456,
"l": 59.608
},
"oklch": {
"l": 0.57128,
"c": 0.15772,
"h": 289.6
},
"luminance": 0.17325
}Semantic roles & 50–950 ramp
primary
#7863CD
secondary
#D2DAB1
accent
#DB4DBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83