#8331E2#8331E2
#8331E2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 53.1% C 0.244 H 298.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8331E2 |
|---|---|
| RGB | rgb(131, 49, 226) |
| HSL | hsl(268, 75%, 54%) |
| HSV | hsv(268, 78%, 89%) |
| CMYK | cmyk(42%, 78.3%, 0%, 11.4%) |
| CIE-LAB | lab(42.02, 66.74, -75.07) |
| CIE-LCH | lch(42.02, 100.45, 311.64°) |
| OKLab | oklab(53.07% 0.1162 -0.2149) |
| OKLCH | oklch(53.07% 0.244 298.4) |
| XYZ | xyz(24.1823, 12.5125, 73.0778) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 1.18
Bluish Purple
#703BE7
ΔE00 3.17
Violet (survey)
#9A0EEA
ΔE00 3.75
Violet
#8F00FF
ΔE00 3.94
Burple
#6832E3
ΔE00 4.02
Vivid Purple
#9900FA
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8331E2 #90E231
analogous
#3138E2 #8331E2 #DC31E2
triadic
#8331E2 #E28331 #31E283
tetradic
#8331E2 #E23138 #90E231 #31E2DC
square
#8331E2 #E23138 #90E231 #31E2DC
split-complementary
#8331E2 #E2DC31 #38E231
monochromatic
#481386 #651ABB #8331E2 #A367EA #C49CF1
Accessibility & contrast
On white
6.00
#8331E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8331E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8331E2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8331E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8331E2 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#6B628A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8331e2; /* rgb */ color: rgb(131, 49, 226); /* oklch */ color: oklch(53.1% 0.244 298.4);
Tailwind
colors: {
custom: {
50: '#af73ec',
500: '#8331e2',
950: '#000000',
},
}SCSS
$custom: #8331e2; $custom-light: #af73ec; $custom-dark: #000000;
JSON
{
"hex": "#8331e2",
"rgb": {
"r": 131,
"g": 49,
"b": 226
},
"hsl": {
"h": 267.797,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.53067,
"c": 0.24428,
"h": 298.4
},
"luminance": 0.12513
}Semantic roles & 50–950 ramp
primary
#8331E2
secondary
#BADD92
accent
#F2369B
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84