#8231C2#8231C2
#8231C2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.213 H 305.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8231C2 |
|---|---|
| RGB | rgb(130, 49, 194) |
| HSL | hsl(274, 60%, 48%) |
| HSV | hsv(274, 75%, 76%) |
| CMYK | cmyk(33%, 74.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.31, 59.21, -61.04) |
| CIE-LCH | lch(39.31, 85.04, 314.13°) |
| OKLab | oklab(50.34% 0.1228 -0.1737) |
| OKLCH | oklch(50.34% 0.213 305.3) |
| XYZ | xyz(20.0397, 10.8376, 52.0646) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.14
Blueviolet
#8A2BE2
ΔE00 4.33
Darkorchid
#9932CC
ΔE00 4.33
Violet (survey)
#9A0EEA
ΔE00 5.93
Burple
#6832E3
ΔE00 6.22
Bluey Purple
#6241C7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8231C2 #71C231
analogous
#3931C2 #8231C2 #C231BA
triadic
#8231C2 #C28231 #31C282
tetradic
#8231C2 #C23931 #71C231 #31BAC2
square
#8231C2 #C23931 #71C231 #31BAC2
split-complementary
#8231C2 #BAC231 #31C239
monochromatic
#411860 #612591 #8231C2 #9F5BD6 #BC8CE2
Accessibility & contrast
On white
6.63
#8231C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#8231C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8231C2
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8231C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8231C2 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#765578
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8231c2; /* rgb */ color: rgb(130, 49, 194); /* oklch */ color: oklch(50.3% 0.213 305.3);
Tailwind
colors: {
custom: {
50: '#ac71d5',
500: '#8231c2',
950: '#000000',
},
}SCSS
$custom: #8231c2; $custom-light: #ac71d5; $custom-dark: #000000;
JSON
{
"hex": "#8231c2",
"rgb": {
"r": 130,
"g": 49,
"b": 194
},
"hsl": {
"h": 273.517,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.50339,
"c": 0.21272,
"h": 305.3
},
"luminance": 0.10837
}Semantic roles & 50–950 ramp
primary
#8231C2
secondary
#A3CC83
accent
#E3458B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83