#7863CA#7863CA
#7863CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.9% C 0.154 H 290.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7863CA |
|---|---|
| RGB | rgb(120, 99, 202) |
| HSL | hsl(252, 49%, 59%) |
| HSV | hsv(252, 51%, 79%) |
| CMYK | cmyk(40.6%, 51%, 0%, 20.8%) |
| CIE-LAB | lab(48.49, 33.01, -50.92) |
| CIE-LCH | lch(48.49, 60.68, 302.95°) |
| OKLab | oklab(56.94% 0.0526 -0.1444) |
| OKLCH | oklch(56.94% 0.154 290) |
| XYZ | xyz(22.8653, 17.1803, 57.9771) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.52
Slate Blue
#6A5ACD
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 3.89
Iris
#6258C4
ΔE00 5.22
Mediumslateblue
#7B68EE
ΔE00 5.63
Purpley
#8756E4
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7863CA #B5CA63
analogous
#6382CA #7863CA #AC63CA
triadic
#7863CA #CA7863 #63CA78
tetradic
#7863CA #CA6382 #B5CA63 #63CAAC
square
#7863CA #CA6382 #B5CA63 #63CAAC
split-complementary
#7863CA #CAAC63 #82CA63
monochromatic
#3F2D85 #553DB3 #7863CA #A091DA #C7BEE9
Accessibility & contrast
On white
4.73
#7863CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7863CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7863CA
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7863CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7863CA | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#61788D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7863ca; /* rgb */ color: rgb(120, 99, 202); /* oklch */ color: oklch(56.9% 0.154 290.0);
Tailwind
colors: {
custom: {
50: '#a390db',
500: '#7863ca',
950: '#000000',
},
}SCSS
$custom: #7863ca; $custom-light: #a390db; $custom-dark: #000000;
JSON
{
"hex": "#7863ca",
"rgb": {
"r": 120,
"g": 99,
"b": 202
},
"hsl": {
"h": 252.233,
"s": 49.282,
"l": 59.02
},
"oklch": {
"l": 0.56936,
"c": 0.15369,
"h": 290
},
"luminance": 0.17181
}Semantic roles & 50–950 ramp
primary
#7863CA
secondary
#D0D9B0
accent
#D94FBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83