#9236C2#9236C2
#9236C2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.211 H 311.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9236C2 |
|---|---|
| RGB | rgb(146, 54, 194) |
| HSL | hsl(279, 56%, 49%) |
| HSV | hsv(279, 72%, 76%) |
| CMYK | cmyk(24.7%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(42.22, 60.20, -56.21) |
| CIE-LCH | lch(42.22, 82.36, 316.97°) |
| OKLab | oklab(52.87% 0.1394 -0.159) |
| OKLCH | oklch(52.87% 0.211 311.3) |
| XYZ | xyz(22.9090, 12.6449, 52.2624) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.68
Purply
#983FB2
ΔE00 3.73
Darkviolet
#9400D3
ΔE00 4.75
Blueviolet
#8A2BE2
ΔE00 5.01
Vibrant Purple
#AD03DE
ΔE00 5.32
Barney
#AC1DB8
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9236C2 #66C236
analogous
#4C36C2 #9236C2 #C236AC
triadic
#9236C2 #C29236 #36C292
tetradic
#9236C2 #C24C36 #66C236 #36ACC2
square
#9236C2 #C24C36 #66C236 #36ACC2
split-complementary
#9236C2 #ACC236 #36C24C
monochromatic
#4A1B62 #6E2992 #9236C2 #AC62D3 #C692E1
Accessibility & contrast
On white
5.95
#9236C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#9236C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9236C2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9236C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9236C2 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2065BF
Tritanopia (blue-blind)
#8C5579
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9236c2; /* rgb */ color: rgb(146, 54, 194); /* oklch */ color: oklch(52.9% 0.211 311.3);
Tailwind
colors: {
custom: {
50: '#b675d5',
500: '#9236c2',
950: '#000000',
},
}SCSS
$custom: #9236c2; $custom-light: #b675d5; $custom-dark: #000000;
JSON
{
"hex": "#9236c2",
"rgb": {
"r": 146,
"g": 54,
"b": 194
},
"hsl": {
"h": 279.429,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.52867,
"c": 0.21148,
"h": 311.3
},
"luminance": 0.12644
}Semantic roles & 50–950 ramp
primary
#9236C2
secondary
#9FCC88
accent
#E0487C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83