#8237AC#8237AC
#8237AC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.183 H 310.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8237AC |
|---|---|
| RGB | rgb(130, 55, 172) |
| HSL | hsl(278, 52%, 45%) |
| HSV | hsv(278, 68%, 67%) |
| CMYK | cmyk(24.4%, 68%, 0%, 32.5%) |
| CIE-LAB | lab(38.65, 51.66, -49.12) |
| CIE-LCH | lch(38.65, 71.29, 316.44°) |
| OKLab | oklab(49.38% 0.12 -0.1387) |
| OKLCH | oklch(49.38% 0.183 310.9) |
| XYZ | xyz(18.0171, 10.4572, 40.0910) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.93
Purply
#983FB2
ΔE00 4.94
Darkorchid
#9932CC
ΔE00 5.67
Rebeccapurple
#663399
ΔE00 5.70
Royal Purple
#7851A9
ΔE00 6.62
Darkviolet
#9400D3
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8237AC #61AC37
analogous
#4837AC #8237AC #AC379B
triadic
#8237AC #AC8237 #37AC82
tetradic
#8237AC #AC4837 #61AC37 #379BAC
square
#8237AC #AC4837 #61AC37 #379BAC
split-complementary
#8237AC #9BAC37 #37AC48
monochromatic
#3C194F #5F287E #8237AC #A057C9 #BA85D8
Accessibility & contrast
On white
6.79
#8237AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8237AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8237AC
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8237AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8237AC | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#7D4F6D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8237ac; /* rgb */ color: rgb(130, 55, 172); /* oklch */ color: oklch(49.4% 0.183 310.9);
Tailwind
colors: {
custom: {
50: '#aa74c5',
500: '#8237ac',
950: '#000000',
},
}SCSS
$custom: #8237ac; $custom-light: #aa74c5; $custom-dark: #000000;
JSON
{
"hex": "#8237ac",
"rgb": {
"r": 130,
"g": 55,
"b": 172
},
"hsl": {
"h": 278.462,
"s": 51.542,
"l": 44.51
},
"oklch": {
"l": 0.49376,
"c": 0.18343,
"h": 310.9
},
"luminance": 0.10457
}Semantic roles & 50–950 ramp
primary
#8237AC
secondary
#96C27D
accent
#DB4D80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82