#8A76E6#8A76E6
#8A76E6 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.6% C 0.163 H 289.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A76E6 |
|---|---|
| RGB | rgb(138, 118, 230) |
| HSL | hsl(251, 69%, 68%) |
| HSV | hsv(251, 49%, 90%) |
| CMYK | cmyk(40%, 48.7%, 0%, 9.8%) |
| CIE-LAB | lab(56.16, 34.02, -54.42) |
| CIE-LCH | lch(56.16, 64.18, 302.01°) |
| OKLab | oklab(63.58% 0.0534 -0.1541) |
| OKLCH | oklch(63.58% 0.163 289.1) |
| XYZ | xyz(31.2386, 24.0723, 77.8481) |
| Luminance | 0.2407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.49
Periwinkle (survey)
#8E82FE
ΔE00 4.80
Mediumslateblue
#7B68EE
ΔE00 4.93
Lavender Blue
#8B88F8
ΔE00 5.97
Perrywinkle
#8F8CE7
ΔE00 6.68
Cornflower
#6A79F7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A76E6 #D2E676
analogous
#769AE6 #8A76E6 #C276E6
triadic
#8A76E6 #E68A76 #76E68A
tetradic
#8A76E6 #E6769A #D2E676 #76E6C2
square
#8A76E6 #E6769A #D2E676 #76E6C2
split-complementary
#8A76E6 #E6C276 #9AE676
monochromatic
#3F23BF #5E42DD #8A76E6 #B6AAEF #E2DEF9
Accessibility & contrast
On white
3.61
#8A76E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#8A76E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A76E6
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A76E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A76E6 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4989EA
Deuteranopia (green-blind)
#4A84E3
Tritanopia (blue-blind)
#718DA3
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a76e6; /* rgb */ color: rgb(138, 118, 230); /* oklch */ color: oklch(63.6% 0.163 289.1);
Tailwind
colors: {
custom: {
50: '#b09eee',
500: '#8a76e6',
950: '#000000',
},
}SCSS
$custom: #8a76e6; $custom-light: #b09eee; $custom-dark: #000000;
JSON
{
"hex": "#8a76e6",
"rgb": {
"r": 138,
"g": 118,
"b": 230
},
"hsl": {
"h": 250.714,
"s": 69.136,
"l": 68.235
},
"oklch": {
"l": 0.63581,
"c": 0.16313,
"h": 289.1
},
"luminance": 0.24073
}Semantic roles & 50–950 ramp
primary
#8A76E6
secondary
#E7EDCB
accent
#D114AF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84