#8A41E2#8A41E2
#8A41E2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.229 H 299.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A41E2 |
|---|---|
| RGB | rgb(138, 65, 226) |
| HSL | hsl(267, 74%, 57%) |
| HSV | hsv(267, 71%, 89%) |
| CMYK | cmyk(38.9%, 71.2%, 0%, 11.4%) |
| CIE-LAB | lab(45.19, 61.24, -69.87) |
| CIE-LCH | lch(45.19, 92.91, 311.24°) |
| OKLab | oklab(55.48% 0.1127 -0.1995) |
| OKLCH | oklch(55.48% 0.229 299.5) |
| XYZ | xyz(26.0956, 14.6746, 73.3944) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.51
Bluish Purple
#703BE7
ΔE00 4.52
Purpley
#8756E4
ΔE00 4.68
Darkorchid
#9932CC
ΔE00 4.98
Violet (survey)
#9A0EEA
ΔE00 5.09
Vivid Purple
#9900FA
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A41E2 #99E241
analogous
#4149E2 #8A41E2 #DB41E2
triadic
#8A41E2 #E28A41 #41E28A
tetradic
#8A41E2 #E24149 #99E241 #41E2DB
square
#8A41E2 #E24149 #99E241 #41E2DB
split-complementary
#8A41E2 #E2DB41 #49E241
monochromatic
#4F1692 #6B1EC7 #8A41E2 #AB76EA #CBABF2
Accessibility & contrast
On white
5.34
#8A41E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8A41E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A41E2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A41E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A41E2 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#75698E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8a41e2; /* rgb */ color: rgb(138, 65, 226); /* oklch */ color: oklch(55.5% 0.229 299.5);
Tailwind
colors: {
custom: {
50: '#b37cec',
500: '#8a41e2',
950: '#000000',
},
}SCSS
$custom: #8a41e2; $custom-light: #b37cec; $custom-dark: #000000;
JSON
{
"hex": "#8a41e2",
"rgb": {
"r": 138,
"g": 65,
"b": 226
},
"hsl": {
"h": 267.205,
"s": 73.516,
"l": 57.059
},
"oklch": {
"l": 0.55477,
"c": 0.22912,
"h": 299.5
},
"luminance": 0.14675
}Semantic roles & 50–950 ramp
primary
#8A41E2
secondary
#C2E09F
accent
#F0389C
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84