#9B2FC3#9B2FC3
#9B2FC3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.223 H 314.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2FC3 |
|---|---|
| RGB | rgb(155, 47, 195) |
| HSL | hsl(284, 61%, 47%) |
| HSV | hsv(284, 76%, 76%) |
| CMYK | cmyk(20.5%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(42.68, 64.78, -55.99) |
| CIE-LCH | lch(42.68, 85.63, 319.16°) |
| OKLab | oklab(53.48% 0.1572 -0.158) |
| OKLCH | oklch(53.48% 0.223 314.9) |
| XYZ | xyz(24.3828, 12.9426, 52.8330) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.57
Purply
#983FB2
ΔE00 3.56
Barney
#AC1DB8
ΔE00 3.93
Vibrant Purple
#AD03DE
ΔE00 4.24
Darkviolet
#9400D3
ΔE00 4.66
Violet (survey)
#9A0EEA
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2FC3 #57C32F
analogous
#512FC3 #9B2FC3 #C32FA1
triadic
#9B2FC3 #C39B2F #2FC39B
tetradic
#9B2FC3 #C3512F #57C32F #2FA1C3
square
#9B2FC3 #C3512F #57C32F #2FA1C3
split-complementary
#9B2FC3 #A1C32F #2FC351
monochromatic
#4D1760 #742392 #9B2FC3 #B558D7 #CB8AE3
Accessibility & contrast
On white
5.85
#9B2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#9B2FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2FC3
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2FC3 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2767C0
Tritanopia (blue-blind)
#985178
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9b2fc3; /* rgb */ color: rgb(155, 47, 195); /* oklch */ color: oklch(53.5% 0.223 314.9);
Tailwind
colors: {
custom: {
50: '#bd73d6',
500: '#9b2fc3',
950: '#000000',
},
}SCSS
$custom: #9b2fc3; $custom-light: #bd73d6; $custom-dark: #000000;
JSON
{
"hex": "#9b2fc3",
"rgb": {
"r": 155,
"g": 47,
"b": 195
},
"hsl": {
"h": 283.784,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.53477,
"c": 0.22293,
"h": 314.9
},
"luminance": 0.12942
}Semantic roles & 50–950 ramp
primary
#9B2FC3
secondary
#96CD81
accent
#E4446F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83