#9B2CD3#9B2CD3
#9B2CD3 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.4% C 0.240 H 310.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2CD3 |
|---|---|
| RGB | rgb(155, 44, 211) |
| HSL | hsl(280, 65%, 50%) |
| HSV | hsv(280, 79%, 83%) |
| CMYK | cmyk(26.5%, 79.1%, 0%, 17.3%) |
| CIE-LAB | lab(43.47, 68.97, -63.98) |
| CIE-LCH | lch(43.47, 94.07, 317.15°) |
| OKLab | oklab(54.39% 0.1567 -0.1815) |
| OKLCH | oklch(54.39% 0.24 310.8) |
| XYZ | xyz(26.1738, 13.4737, 62.8373) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.08
Vibrant Purple
#AD03DE
ΔE00 3.03
Violet (survey)
#9A0EEA
ΔE00 3.41
Blueviolet
#8A2BE2
ΔE00 3.76
Darkviolet
#9400D3
ΔE00 3.92
Vivid Purple
#9900FA
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2CD3 #64D32C
analogous
#472CD3 #9B2CD3 #D32CB8
triadic
#9B2CD3 #D39B2C #2CD39B
tetradic
#9B2CD3 #D3472C #64D32C #2CB8D3
square
#9B2CD3 #D3472C #64D32C #2CB8D3
split-complementary
#9B2CD3 #B8D32C #2CD347
monochromatic
#51176E #7621A0 #9B2CD3 #B35FDE #CB91E8
Accessibility & contrast
On white
5.68
#9B2CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9B2CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2CD3
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2CD3 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#935680
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9b2cd3; /* rgb */ color: rgb(155, 44, 211); /* oklch */ color: oklch(54.4% 0.240 310.8);
Tailwind
colors: {
custom: {
50: '#be73e1',
500: '#9b2cd3',
950: '#000000',
},
}SCSS
$custom: #9b2cd3; $custom-light: #be73e1; $custom-dark: #000000;
JSON
{
"hex": "#9b2cd3",
"rgb": {
"r": 155,
"g": 44,
"b": 211
},
"hsl": {
"h": 279.88,
"s": 65.49,
"l": 50
},
"oklch": {
"l": 0.54392,
"c": 0.23974,
"h": 310.8
},
"luminance": 0.13473
}Semantic roles & 50–950 ramp
primary
#9B2CD3
secondary
#A1D388
accent
#E83F78
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83