#9239B2#9239B2
#9239B2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.193 H 315.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9239B2 |
|---|---|
| RGB | rgb(146, 57, 178) |
| HSL | hsl(284, 51%, 46%) |
| HSV | hsv(284, 68%, 70%) |
| CMYK | cmyk(18%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(41.61, 55.61, -47.80) |
| CIE-LCH | lch(41.61, 73.33, 319.32°) |
| OKLab | oklab(52.1% 0.1379 -0.1343) |
| OKLCH | oklch(52.1% 0.193 315.8) |
| XYZ | xyz(21.3518, 12.2524, 43.3511) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.93
Darkorchid
#9932CC
ΔE00 3.95
Barney
#AC1DB8
ΔE00 4.73
Medium Purple
#9E43A2
ΔE00 5.36
Darkviolet
#9400D3
ΔE00 6.58
Ugly Purple
#A442A0
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9239B2 #59B239
analogous
#5539B2 #9239B2 #B23995
triadic
#9239B2 #B29239 #39B292
tetradic
#9239B2 #B25539 #59B239 #3995B2
square
#9239B2 #B25539 #59B239 #3995B2
split-complementary
#9239B2 #95B239 #39B255
monochromatic
#461B55 #6C2A84 #9239B2 #AE5DCB #C58BDA
Accessibility & contrast
On white
6.09
#9239B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#9239B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9239B2
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9239B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9239B2 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#905171
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9239b2; /* rgb */ color: rgb(146, 57, 178); /* oklch */ color: oklch(52.1% 0.193 315.8);
Tailwind
colors: {
custom: {
50: '#b576ca',
500: '#9239b2',
950: '#000000',
},
}SCSS
$custom: #9239b2; $custom-light: #b576ca; $custom-dark: #000000;
JSON
{
"hex": "#9239b2",
"rgb": {
"r": 146,
"g": 57,
"b": 178
},
"hsl": {
"h": 284.132,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.52096,
"c": 0.19253,
"h": 315.8
},
"luminance": 0.12252
}Semantic roles & 50–950 ramp
primary
#9239B2
secondary
#94C482
accent
#DB4D72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82