#9239B3#9239B3
#9239B3 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.193 H 315.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9239B3 |
|---|---|
| RGB | rgb(146, 57, 179) |
| HSL | hsl(284, 52%, 46%) |
| HSV | hsv(284, 68%, 70%) |
| CMYK | cmyk(18.4%, 68.2%, 0%, 29.8%) |
| CIE-LAB | lab(41.68, 55.82, -48.29) |
| CIE-LCH | lch(41.68, 73.81, 319.14°) |
| OKLab | oklab(52.16% 0.1379 -0.1358) |
| OKLCH | oklch(52.16% 0.193 315.4) |
| XYZ | xyz(21.4526, 12.2927, 43.8818) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.97
Darkorchid
#9932CC
ΔE00 3.80
Barney
#AC1DB8
ΔE00 4.75
Medium Purple
#9E43A2
ΔE00 5.48
Darkviolet
#9400D3
ΔE00 6.47
Ugly Purple
#A442A0
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9239B3 #5AB339
analogous
#5539B3 #9239B3 #B33997
triadic
#9239B3 #B39239 #39B392
tetradic
#9239B3 #B35539 #5AB339 #3997B3
square
#9239B3 #B35539 #5AB339 #3997B3
split-complementary
#9239B3 #97B339 #39B355
monochromatic
#461B56 #6C2A85 #9239B3 #AE5ECC #C58CDA
Accessibility & contrast
On white
6.07
#9239B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#9239B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9239B3
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9239B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9239B3 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#905171
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9239b3; /* rgb */ color: rgb(146, 57, 179); /* oklch */ color: oklch(52.2% 0.193 315.4);
Tailwind
colors: {
custom: {
50: '#b676ca',
500: '#9239b3',
950: '#000000',
},
}SCSS
$custom: #9239b3; $custom-light: #b676ca; $custom-dark: #000000;
JSON
{
"hex": "#9239b3",
"rgb": {
"r": 146,
"g": 57,
"b": 179
},
"hsl": {
"h": 283.77,
"s": 51.695,
"l": 46.275
},
"oklch": {
"l": 0.52161,
"c": 0.19349,
"h": 315.4
},
"luminance": 0.12292
}Semantic roles & 50–950 ramp
primary
#9239B3
secondary
#95C583
accent
#DB4D73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82