#9237C2#9237C2
#9237C2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.210 H 311.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9237C2 |
|---|---|
| RGB | rgb(146, 55, 194) |
| HSL | hsl(279, 56%, 49%) |
| HSV | hsv(279, 72%, 76%) |
| CMYK | cmyk(24.7%, 71.6%, 0%, 23.9%) |
| CIE-LAB | lab(42.37, 59.80, -55.98) |
| CIE-LCH | lch(42.37, 81.91, 316.89°) |
| OKLab | oklab(52.97% 0.1385 -0.1583) |
| OKLCH | oklch(52.97% 0.21 311.2) |
| XYZ | xyz(22.9560, 12.7390, 52.2781) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.68
Purply
#983FB2
ΔE00 3.65
Darkviolet
#9400D3
ΔE00 4.90
Blueviolet
#8A2BE2
ΔE00 5.06
Vibrant Purple
#AD03DE
ΔE00 5.36
Barney
#AC1DB8
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9237C2 #67C237
analogous
#4D37C2 #9237C2 #C237AD
triadic
#9237C2 #C29237 #37C292
tetradic
#9237C2 #C24D37 #67C237 #37ADC2
square
#9237C2 #C24D37 #67C237 #37ADC2
split-complementary
#9237C2 #ADC237 #37C24D
monochromatic
#4A1C63 #6E2992 #9237C2 #AC63D3 #C693E0
Accessibility & contrast
On white
5.92
#9237C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#9237C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9237C2
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9237C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9237C2 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2166BF
Tritanopia (blue-blind)
#8C5679
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9237c2; /* rgb */ color: rgb(146, 55, 194); /* oklch */ color: oklch(53.0% 0.210 311.2);
Tailwind
colors: {
custom: {
50: '#b676d5',
500: '#9237c2',
950: '#000000',
},
}SCSS
$custom: #9237c2; $custom-light: #b676d5; $custom-dark: #000000;
JSON
{
"hex": "#9237c2",
"rgb": {
"r": 146,
"g": 55,
"b": 194
},
"hsl": {
"h": 279.281,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.52969,
"c": 0.21032,
"h": 311.2
},
"luminance": 0.12738
}Semantic roles & 50–950 ramp
primary
#9237C2
secondary
#A0CB89
accent
#DF497D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83