#8237C2#8237C2
#8237C2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.206 H 304.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8237C2 |
|---|---|
| RGB | rgb(130, 55, 194) |
| HSL | hsl(272, 56%, 49%) |
| HSV | hsv(272, 72%, 76%) |
| CMYK | cmyk(33%, 71.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.20, 56.66, -59.58) |
| CIE-LCH | lch(40.20, 82.22, 313.56°) |
| OKLab | oklab(50.97% 0.1171 -0.1695) |
| OKLCH | oklch(50.97% 0.206 304.6) |
| XYZ | xyz(20.3075, 11.3733, 52.1539) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.06
Blueviolet
#8A2BE2
ΔE00 4.34
Darkviolet
#9400D3
ΔE00 4.85
Bluey Purple
#6241C7
ΔE00 6.00
Purply
#983FB2
ΔE00 6.10
Violet (survey)
#9A0EEA
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8237C2 #77C237
analogous
#3D37C2 #8237C2 #C237BD
triadic
#8237C2 #C28237 #37C282
tetradic
#8237C2 #C23D37 #77C237 #37BDC2
square
#8237C2 #C23D37 #77C237 #37BDC2
split-complementary
#8237C2 #BDC237 #37C23D
monochromatic
#421C63 #622992 #8237C2 #A063D3 #BD93E0
Accessibility & contrast
On white
6.41
#8237C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8237C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8237C2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8237C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8237C2 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#765879
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8237c2; /* rgb */ color: rgb(130, 55, 194); /* oklch */ color: oklch(51.0% 0.206 304.6);
Tailwind
colors: {
custom: {
50: '#ac74d5',
500: '#8237c2',
950: '#000000',
},
}SCSS
$custom: #8237c2; $custom-light: #ac74d5; $custom-dark: #000000;
JSON
{
"hex": "#8237c2",
"rgb": {
"r": 130,
"g": 55,
"b": 194
},
"hsl": {
"h": 272.374,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.50973,
"c": 0.20599,
"h": 304.6
},
"luminance": 0.11373
}Semantic roles & 50–950 ramp
primary
#8237C2
secondary
#A8CB89
accent
#DF498E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83