#8237B7#8237B7
#8237B7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.2% C 0.195 H 307.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8237B7 |
|---|---|
| RGB | rgb(130, 55, 183) |
| HSL | hsl(275, 54%, 47%) |
| HSV | hsv(275, 70%, 72%) |
| CMYK | cmyk(29%, 69.9%, 0%, 28.2%) |
| CIE-LAB | lab(39.41, 54.13, -54.42) |
| CIE-LCH | lch(39.41, 76.76, 314.85°) |
| OKLab | oklab(50.16% 0.1188 -0.1543) |
| OKLCH | oklch(50.16% 0.195 307.6) |
| XYZ | xyz(19.1176, 10.8974, 45.8868) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.62
Purply
#983FB2
ΔE00 5.33
Darkviolet
#9400D3
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.91
Purple (survey)
#7E1E9C
ΔE00 6.05
Rebeccapurple
#663399
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8237B7 #6CB737
analogous
#4237B7 #8237B7 #B737AC
triadic
#8237B7 #B78237 #37B782
tetradic
#8237B7 #B74237 #6CB737 #37ACB7
square
#8237B7 #B74237 #6CB737 #37ACB7
split-complementary
#8237B7 #ACB737 #37B742
monochromatic
#3F1B59 #612988 #8237B7 #9F5DCE #BB8CDC
Accessibility & contrast
On white
6.61
#8237B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#8237B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8237B7
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8237B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8237B7 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#145DB4
Tritanopia (blue-blind)
#795473
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8237b7; /* rgb */ color: rgb(130, 55, 183); /* oklch */ color: oklch(50.2% 0.195 307.6);
Tailwind
colors: {
custom: {
50: '#ab74cd',
500: '#8237b7',
950: '#000000',
},
}SCSS
$custom: #8237b7; $custom-light: #ab74cd; $custom-dark: #000000;
JSON
{
"hex": "#8237b7",
"rgb": {
"r": 130,
"g": 55,
"b": 183
},
"hsl": {
"h": 275.156,
"s": 53.782,
"l": 46.667
},
"oklch": {
"l": 0.50157,
"c": 0.19471,
"h": 307.6
},
"luminance": 0.10897
}Semantic roles & 50–950 ramp
primary
#8237B7
secondary
#9FC783
accent
#DD4B87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82