#8A76E2#8A76E2
#8A76E2 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.3% C 0.158 H 289.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A76E2 |
|---|---|
| RGB | rgb(138, 118, 226) |
| HSL | hsl(251, 65%, 67%) |
| HSV | hsv(251, 48%, 89%) |
| CMYK | cmyk(38.9%, 47.8%, 0%, 11.4%) |
| CIE-LAB | lab(55.94, 32.92, -52.54) |
| CIE-LCH | lch(55.94, 62.00, 302.07°) |
| OKLab | oklab(63.34% 0.053 -0.1486) |
| OKLCH | oklch(63.34% 0.158 289.6) |
| XYZ | xyz(30.6834, 23.8502, 74.9237) |
| Luminance | 0.2385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.17
Mediumslateblue
#7B68EE
ΔE00 5.16
Periwinkle (survey)
#8E82FE
ΔE00 5.24
Lavender Blue
#8B88F8
ΔE00 6.26
Perrywinkle
#8F8CE7
ΔE00 6.70
Cornflower
#6A79F7
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A76E2 #CEE276
analogous
#7698E2 #8A76E2 #C076E2
triadic
#8A76E2 #E28A76 #76E28A
tetradic
#8A76E2 #E27698 #CEE276 #76E2C0
square
#8A76E2 #E27698 #CEE276 #76E2C0
split-complementary
#8A76E2 #E2C076 #98E276
monochromatic
#4127B7 #5F43D7 #8A76E2 #B5A9ED #E0DBF7
Accessibility & contrast
On white
3.64
#8A76E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8A76E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A76E2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A76E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A76E2 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#4E84DF
Tritanopia (blue-blind)
#728CA1
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a76e2; /* rgb */ color: rgb(138, 118, 226); /* oklch */ color: oklch(63.3% 0.158 289.6);
Tailwind
colors: {
custom: {
50: '#b09eec',
500: '#8a76e2',
950: '#000000',
},
}SCSS
$custom: #8a76e2; $custom-light: #b09eec; $custom-dark: #000000;
JSON
{
"hex": "#8a76e2",
"rgb": {
"r": 138,
"g": 118,
"b": 226
},
"hsl": {
"h": 251.111,
"s": 65.06,
"l": 67.451
},
"oklch": {
"l": 0.63342,
"c": 0.15779,
"h": 289.6
},
"luminance": 0.23851
}Semantic roles & 50–950 ramp
primary
#8A76E2
secondary
#E5EBC9
accent
#CD19AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84