#9B2F9F#9B2F9F
#9B2F9F is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.192 H 326.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2F9F |
|---|---|
| RGB | rgb(155, 47, 159) |
| HSL | hsl(298, 54%, 40%) |
| HSV | hsv(298, 70%, 62%) |
| CMYK | cmyk(2.5%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(40.42, 58.08, -38.30) |
| CIE-LCH | lch(40.42, 69.57, 326.59°) |
| OKLab | oklab(51.15% 0.1601 -0.1063) |
| OKLCH | oklch(51.15% 0.192 326.4) |
| XYZ | xyz(20.7917, 11.5062, 33.9200) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.89
Barney Purple
#A00498
ΔE00 3.74
Medium Purple
#9E43A2
ΔE00 3.93
Barney
#AC1DB8
ΔE00 4.40
Purply
#983FB2
ΔE00 4.41
Ugly Purple
#A442A0
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2F9F #339F2F
analogous
#632F9F #9B2F9F #9F2F6B
triadic
#9B2F9F #9F9B2F #2F9F9B
tetradic
#9B2F9F #9F632F #339F2F #2F6B9F
square
#9B2F9F #9F632F #339F2F #2F6B9F
split-complementary
#9B2F9F #6B9F2F #2F9F63
monochromatic
#3F1341 #6D2170 #9B2F9F #C344C8 #D273D6
Accessibility & contrast
On white
6.36
#9B2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#9B2F9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2F9F
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2F9F | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1757A2
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#9F4064
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9b2f9f; /* rgb */ color: rgb(155, 47, 159); /* oklch */ color: oklch(51.1% 0.192 326.4);
Tailwind
colors: {
custom: {
50: '#bc72bc',
500: '#9b2f9f',
950: '#000000',
},
}SCSS
$custom: #9b2f9f; $custom-light: #bc72bc; $custom-dark: #000000;
JSON
{
"hex": "#9b2f9f",
"rgb": {
"r": 155,
"g": 47,
"b": 159
},
"hsl": {
"h": 297.857,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.5115,
"c": 0.19214,
"h": 326.4
},
"luminance": 0.11505
}Semantic roles & 50–950 ramp
primary
#9B2F9F
secondary
#6FBD6D
accent
#DE4A4F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81