#9237C1#9237C1
#9237C1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.209 H 311.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9237C1 |
|---|---|
| RGB | rgb(146, 55, 193) |
| HSL | hsl(280, 56%, 49%) |
| HSV | hsv(280, 72%, 76%) |
| CMYK | cmyk(24.4%, 71.5%, 0%, 24.3%) |
| CIE-LAB | lab(42.30, 59.58, -55.50) |
| CIE-LCH | lch(42.30, 81.43, 317.03°) |
| OKLab | oklab(52.9% 0.1386 -0.1569) |
| OKLCH | oklch(52.9% 0.209 311.4) |
| XYZ | xyz(22.8441, 12.6942, 51.6886) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.79
Purply
#983FB2
ΔE00 3.53
Darkviolet
#9400D3
ΔE00 4.96
Blueviolet
#8A2BE2
ΔE00 5.20
Barney
#AC1DB8
ΔE00 5.39
Vibrant Purple
#AD03DE
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9237C1 #66C137
analogous
#4D37C1 #9237C1 #C137AB
triadic
#9237C1 #C19237 #37C192
tetradic
#9237C1 #C14D37 #66C137 #37ABC1
square
#9237C1 #C14D37 #66C137 #37ABC1
split-complementary
#9237C1 #ABC137 #37C14D
monochromatic
#4A1C62 #6E2991 #9237C1 #AC63D2 #C692E0
Accessibility & contrast
On white
5.93
#9237C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#9237C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9237C1
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9237C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9237C1 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#2365BE
Tritanopia (blue-blind)
#8C5579
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9237c1; /* rgb */ color: rgb(146, 55, 193); /* oklch */ color: oklch(52.9% 0.209 311.4);
Tailwind
colors: {
custom: {
50: '#b676d4',
500: '#9237c1',
950: '#000000',
},
}SCSS
$custom: #9237c1; $custom-light: #b676d4; $custom-dark: #000000;
JSON
{
"hex": "#9237c1",
"rgb": {
"r": 146,
"g": 55,
"b": 193
},
"hsl": {
"h": 279.565,
"s": 55.645,
"l": 48.627
},
"oklch": {
"l": 0.52898,
"c": 0.20936,
"h": 311.4
},
"luminance": 0.12694
}Semantic roles & 50–950 ramp
primary
#9237C1
secondary
#9FCB89
accent
#DF497C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83