#8331C2#8331C2
#8331C2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.213 H 305.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8331C2 |
|---|---|
| RGB | rgb(131, 49, 194) |
| HSL | hsl(274, 60%, 48%) |
| HSV | hsv(274, 75%, 76%) |
| CMYK | cmyk(32.5%, 74.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.44, 59.38, -60.82) |
| CIE-LCH | lch(39.44, 85.00, 314.32°) |
| OKLab | oklab(50.46% 0.1242 -0.173) |
| OKLCH | oklch(50.46% 0.213 305.7) |
| XYZ | xyz(20.1938, 10.9171, 52.0719) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.07
Darkorchid
#9932CC
ΔE00 4.16
Blueviolet
#8A2BE2
ΔE00 4.31
Violet (survey)
#9A0EEA
ΔE00 5.85
Burple
#6832E3
ΔE00 6.34
Purply
#983FB2
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8331C2 #70C231
analogous
#3A31C2 #8331C2 #C231B9
triadic
#8331C2 #C28331 #31C283
tetradic
#8331C2 #C23A31 #70C231 #31B9C2
square
#8331C2 #C23A31 #70C231 #31B9C2
split-complementary
#8331C2 #B9C231 #31C23A
monochromatic
#411860 #622591 #8331C2 #A05BD6 #BC8CE2
Accessibility & contrast
On white
6.60
#8331C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#8331C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8331C2
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8331C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8331C2 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#785578
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8331c2; /* rgb */ color: rgb(131, 49, 194); /* oklch */ color: oklch(50.5% 0.213 305.7);
Tailwind
colors: {
custom: {
50: '#ad71d5',
500: '#8331c2',
950: '#000000',
},
}SCSS
$custom: #8331c2; $custom-light: #ad71d5; $custom-dark: #000000;
JSON
{
"hex": "#8331c2",
"rgb": {
"r": 131,
"g": 49,
"b": 194
},
"hsl": {
"h": 273.931,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.50463,
"c": 0.21295,
"h": 305.7
},
"luminance": 0.10917
}Semantic roles & 50–950 ramp
primary
#8331C2
secondary
#A3CC83
accent
#E3458A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83