#9239C2#9239C2
#9239C2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.208 H 311.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9239C2 |
|---|---|
| RGB | rgb(146, 57, 194) |
| HSL | hsl(279, 55%, 49%) |
| HSV | hsv(279, 71%, 76%) |
| CMYK | cmyk(24.7%, 70.6%, 0%, 23.9%) |
| CIE-LAB | lab(42.66, 58.96, -55.50) |
| CIE-LCH | lch(42.66, 80.98, 316.73°) |
| OKLab | oklab(53.18% 0.1364 -0.1569) |
| OKLCH | oklch(53.18% 0.208 311) |
| XYZ | xyz(23.0529, 12.9328, 52.3104) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.75
Purply
#983FB2
ΔE00 3.51
Blueviolet
#8A2BE2
ΔE00 5.17
Darkviolet
#9400D3
ΔE00 5.21
Vibrant Purple
#AD03DE
ΔE00 5.47
Barney
#AC1DB8
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9239C2 #69C239
analogous
#4D39C2 #9239C2 #C239AE
triadic
#9239C2 #C29239 #39C292
tetradic
#9239C2 #C24D39 #69C239 #39AEC2
square
#9239C2 #C24D39 #69C239 #39AEC2
split-complementary
#9239C2 #AEC239 #39C24D
monochromatic
#4B1D63 #6E2B93 #9239C2 #AC66D2 #C695E0
Accessibility & contrast
On white
5.86
#9239C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#9239C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9239C2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9239C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9239C2 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2466BF
Tritanopia (blue-blind)
#8C577A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9239c2; /* rgb */ color: rgb(146, 57, 194); /* oklch */ color: oklch(53.2% 0.208 311.0);
Tailwind
colors: {
custom: {
50: '#b677d5',
500: '#9239c2',
950: '#000000',
},
}SCSS
$custom: #9239c2; $custom-light: #b677d5; $custom-dark: #000000;
JSON
{
"hex": "#9239c2",
"rgb": {
"r": 146,
"g": 57,
"b": 194
},
"hsl": {
"h": 278.978,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.53178,
"c": 0.20795,
"h": 311
},
"luminance": 0.12932
}Semantic roles & 50–950 ramp
primary
#9239C2
secondary
#A2CB8B
accent
#DE4A7E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83