#9239B5#9239B5
#9239B5 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.195 H 314.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9239B5 |
|---|---|
| RGB | rgb(146, 57, 181) |
| HSL | hsl(283, 52%, 47%) |
| HSV | hsv(283, 69%, 71%) |
| CMYK | cmyk(19.3%, 68.5%, 0%, 29%) |
| CIE-LAB | lab(41.80, 56.23, -49.26) |
| CIE-LCH | lch(41.80, 74.76, 318.78°) |
| OKLab | oklab(52.29% 0.1377 -0.1386) |
| OKLCH | oklch(52.29% 0.195 314.8) |
| XYZ | xyz(21.6563, 12.3742, 44.9548) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.09
Darkorchid
#9932CC
ΔE00 3.48
Barney
#AC1DB8
ΔE00 4.80
Medium Purple
#9E43A2
ΔE00 5.73
Darkviolet
#9400D3
ΔE00 6.25
Vibrant Purple
#AD03DE
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9239B5 #5CB539
analogous
#5439B5 #9239B5 #B5399A
triadic
#9239B5 #B59239 #39B592
tetradic
#9239B5 #B55439 #5CB539 #399AB5
square
#9239B5 #B55439 #5CB539 #399AB5
split-complementary
#9239B5 #9AB539 #39B554
monochromatic
#471C58 #6C2A86 #9239B5 #AE5FCD #C58DDB
Accessibility & contrast
On white
6.04
#9239B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#9239B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9239B5
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9239B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9239B5 | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#8F5273
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9239b5; /* rgb */ color: rgb(146, 57, 181); /* oklch */ color: oklch(52.3% 0.195 314.8);
Tailwind
colors: {
custom: {
50: '#b676cc',
500: '#9239b5',
950: '#000000',
},
}SCSS
$custom: #9239b5; $custom-light: #b676cc; $custom-dark: #000000;
JSON
{
"hex": "#9239b5",
"rgb": {
"r": 146,
"g": 57,
"b": 181
},
"hsl": {
"h": 283.065,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.52293,
"c": 0.19541,
"h": 314.8
},
"luminance": 0.12373
}Semantic roles & 50–950 ramp
primary
#9239B5
secondary
#97C684
accent
#DC4C75
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82