#8A76E7#8A76E7
#8A76E7 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.6% C 0.164 H 289.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8A76E7 |
|---|---|
| RGB | rgb(138, 118, 231) |
| HSL | hsl(251, 70%, 68%) |
| HSV | hsv(251, 49%, 91%) |
| CMYK | cmyk(40.3%, 48.9%, 0%, 9.4%) |
| CIE-LAB | lab(56.22, 34.29, -54.89) |
| CIE-LCH | lch(56.22, 64.73, 302.00°) |
| OKLab | oklab(63.64% 0.0535 -0.1555) |
| OKLCH | oklch(63.64% 0.164 289) |
| XYZ | xyz(31.3795, 24.1287, 78.5898) |
| Luminance | 0.2413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.58
Periwinkle (survey)
#8E82FE
ΔE00 4.69
Mediumslateblue
#7B68EE
ΔE00 4.88
Lavender Blue
#8B88F8
ΔE00 5.90
Cornflower
#6A79F7
ΔE00 6.66
Perrywinkle
#8F8CE7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A76E7 #D3E776
analogous
#769AE7 #8A76E7 #C276E7
triadic
#8A76E7 #E78A76 #76E78A
tetradic
#8A76E7 #E7769A #D3E776 #76E7C2
square
#8A76E7 #E7769A #D3E776 #76E7C2
split-complementary
#8A76E7 #E7C276 #9AE776
monochromatic
#3E22C1 #5E42DE #8A76E7 #B6AAF0 #E3DEF9
Accessibility & contrast
On white
3.60
#8A76E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#8A76E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A76E7
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A76E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A76E7 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4889EB
Deuteranopia (green-blind)
#4984E4
Tritanopia (blue-blind)
#708DA4
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a76e7; /* rgb */ color: rgb(138, 118, 231); /* oklch */ color: oklch(63.6% 0.164 289.0);
Tailwind
colors: {
custom: {
50: '#b19eef',
500: '#8a76e7',
950: '#000000',
},
}SCSS
$custom: #8a76e7; $custom-light: #b19eef; $custom-dark: #000000;
JSON
{
"hex": "#8a76e7",
"rgb": {
"r": 138,
"g": 118,
"b": 231
},
"hsl": {
"h": 250.619,
"s": 70.186,
"l": 68.431
},
"oklch": {
"l": 0.63641,
"c": 0.16446,
"h": 289
},
"luminance": 0.2413
}Semantic roles & 50–950 ramp
primary
#8A76E7
secondary
#E7EDCB
accent
#D213B0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84