#9239BB#9239BB
#9239BB is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.7% C 0.201 H 313.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9239BB |
|---|---|
| RGB | rgb(146, 57, 187) |
| HSL | hsl(281, 53%, 48%) |
| HSV | hsv(281, 70%, 73%) |
| CMYK | cmyk(21.9%, 69.5%, 0%, 26.7%) |
| CIE-LAB | lab(42.19, 57.48, -52.16) |
| CIE-LCH | lch(42.19, 77.62, 317.78°) |
| OKLab | oklab(52.7% 0.1372 -0.1471) |
| OKLCH | oklch(52.7% 0.201 313) |
| XYZ | xyz(22.2852, 12.6258, 48.2672) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.60
Purply
#983FB2
ΔE00 2.66
Barney
#AC1DB8
ΔE00 5.08
Darkviolet
#9400D3
ΔE00 5.68
Vibrant Purple
#AD03DE
ΔE00 6.07
Blueviolet
#8A2BE2
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9239BB #62BB39
analogous
#5139BB #9239BB #BB39A3
triadic
#9239BB #BB9239 #39BB92
tetradic
#9239BB #BB5139 #62BB39 #39A3BB
square
#9239BB #BB5139 #62BB39 #39A3BB
split-complementary
#9239BB #A3BB39 #39BB51
monochromatic
#491C5D #6D2B8C #9239BB #AD62CF #C591DD
Accessibility & contrast
On white
5.96
#9239BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#9239BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9239BB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9239BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9239BB | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#2E66B8
Tritanopia (blue-blind)
#8E5476
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9239bb; /* rgb */ color: rgb(146, 57, 187); /* oklch */ color: oklch(52.7% 0.201 313.0);
Tailwind
colors: {
custom: {
50: '#b677d0',
500: '#9239bb',
950: '#000000',
},
}SCSS
$custom: #9239bb; $custom-light: #b677d0; $custom-dark: #000000;
JSON
{
"hex": "#9239bb",
"rgb": {
"r": 146,
"g": 57,
"b": 187
},
"hsl": {
"h": 281.077,
"s": 53.279,
"l": 47.843
},
"oklch": {
"l": 0.52696,
"c": 0.20119,
"h": 313
},
"luminance": 0.12625
}Semantic roles & 50–950 ramp
primary
#9239BB
secondary
#9CC887
accent
#DD4B79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82