#7867EA#7867EA
#7867EA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.8% C 0.190 H 285.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7867EA |
|---|---|
| RGB | rgb(120, 103, 234) |
| HSL | hsl(248, 76%, 66%) |
| HSV | hsv(248, 56%, 92%) |
| CMYK | cmyk(48.7%, 56%, 0%, 8.2%) |
| CIE-LAB | lab(51.42, 39.87, -64.36) |
| CIE-LCH | lch(51.42, 75.71, 301.78°) |
| OKLab | oklab(59.76% 0.0492 -0.1839) |
| OKLCH | oklch(59.76% 0.19 285) |
| XYZ | xyz(27.4429, 19.6327, 80.1694) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 0.82
Dark Periwinkle
#665FD1
ΔE00 5.37
Purpley
#8756E4
ΔE00 5.62
Light Indigo
#6D5ACF
ΔE00 5.95
Slate Blue
#6A5ACD
ΔE00 6.31
Mediumpurple
#9370DB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7867EA #D9EA67
analogous
#6797EA #7867EA #B967EA
triadic
#7867EA #EA7867 #67EA78
tetradic
#7867EA #EA6797 #D9EA67 #67EAB9
square
#7867EA #EA6797 #D9EA67 #67EAB9
split-complementary
#7867EA #EAB967 #97EA67
monochromatic
#2F1ABD #4831E3 #7867EA #A89DF1 #D8D3F9
Accessibility & contrast
On white
4.26
#7867EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#7867EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7867EA
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7867EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7867EA | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#097EEE
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#4F859F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7867ea; /* rgb */ color: rgb(120, 103, 234); /* oklch */ color: oklch(59.8% 0.190 285.0);
Tailwind
colors: {
custom: {
50: '#a693f1',
500: '#7867ea',
950: '#000000',
},
}SCSS
$custom: #7867ea; $custom-light: #a693f1; $custom-dark: #000000;
JSON
{
"hex": "#7867ea",
"rgb": {
"r": 120,
"g": 103,
"b": 234
},
"hsl": {
"h": 247.786,
"s": 75.723,
"l": 66.078
},
"oklch": {
"l": 0.59758,
"c": 0.19035,
"h": 285
},
"luminance": 0.19634
}Semantic roles & 50–950 ramp
primary
#7867EA
secondary
#E6ECC1
accent
#D80EBE
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85