#9B2CD4#9B2CD4
#9B2CD4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.5% C 0.241 H 310.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2CD4 |
|---|---|
| RGB | rgb(155, 44, 212) |
| HSL | hsl(280, 66%, 50%) |
| HSV | hsv(280, 79%, 83%) |
| CMYK | cmyk(26.9%, 79.2%, 0%, 16.9%) |
| CIE-LAB | lab(43.54, 69.17, -64.44) |
| CIE-LCH | lch(43.54, 94.53, 317.03°) |
| OKLab | oklab(54.47% 0.1565 -0.1828) |
| OKLCH | oklch(54.47% 0.241 310.6) |
| XYZ | xyz(26.2996, 13.5240, 63.4996) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.19
Vibrant Purple
#AD03DE
ΔE00 3.00
Violet (survey)
#9A0EEA
ΔE00 3.31
Blueviolet
#8A2BE2
ΔE00 3.67
Darkviolet
#9400D3
ΔE00 3.95
Vivid Purple
#9900FA
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2CD4 #65D42C
analogous
#472CD4 #9B2CD4 #D42CB9
triadic
#9B2CD4 #D49B2C #2CD49B
tetradic
#9B2CD4 #D4472C #65D42C #2CB9D4
square
#9B2CD4 #D4472C #65D42C #2CB9D4
split-complementary
#9B2CD4 #B9D42C #2CD447
monochromatic
#51176F #7621A2 #9B2CD4 #B35FDE #CB92E9
Accessibility & contrast
On white
5.67
#9B2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#9B2CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2CD4
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2CD4 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#935781
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9b2cd4; /* rgb */ color: rgb(155, 44, 212); /* oklch */ color: oklch(54.5% 0.241 310.6);
Tailwind
colors: {
custom: {
50: '#be73e2',
500: '#9b2cd4',
950: '#000000',
},
}SCSS
$custom: #9b2cd4; $custom-light: #be73e2; $custom-dark: #000000;
JSON
{
"hex": "#9b2cd4",
"rgb": {
"r": 155,
"g": 44,
"b": 212
},
"hsl": {
"h": 279.643,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.54466,
"c": 0.24062,
"h": 310.6
},
"luminance": 0.13523
}Semantic roles & 50–950 ramp
primary
#9B2CD4
secondary
#A2D388
accent
#E93F79
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84