#9F2BB2#9F2BB2
#9F2BB2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.214 H 321.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2BB2 |
|---|---|
| RGB | rgb(159, 43, 178) |
| HSL | hsl(292, 61%, 43%) |
| HSV | hsv(292, 76%, 70%) |
| CMYK | cmyk(10.7%, 75.8%, 0%, 30.2%) |
| CIE-LAB | lab(41.71, 63.71, -47.53) |
| CIE-LCH | lch(41.71, 79.49, 323.27°) |
| OKLab | oklab(52.56% 0.1676 -0.1331) |
| OKLCH | oklch(52.56% 0.214 321.6) |
| XYZ | xyz(23.1969, 12.3143, 43.2659) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.20
Purply
#983FB2
ΔE00 3.05
Darkorchid
#9932CC
ΔE00 4.62
Medium Purple
#9E43A2
ΔE00 5.12
Barney Purple
#A00498
ΔE00 5.44
Ugly Purple
#A442A0
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2BB2 #3EB22B
analogous
#5C2BB2 #9F2BB2 #B22B81
triadic
#9F2BB2 #B29F2B #2BB29F
tetradic
#9F2BB2 #B25C2B #3EB22B #2B81B2
square
#9F2BB2 #B25C2B #3EB22B #2B81B2
split-complementary
#9F2BB2 #81B22B #2BB25C
monochromatic
#47134F #731F81 #9F2BB2 #BF48D3 #D079DF
Accessibility & contrast
On white
6.06
#9F2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#9F2BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2BB2
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2BB2 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#A0466D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9f2bb2; /* rgb */ color: rgb(159, 43, 178); /* oklch */ color: oklch(52.6% 0.214 321.6);
Tailwind
colors: {
custom: {
50: '#bf71ca',
500: '#9f2bb2',
950: '#000000',
},
}SCSS
$custom: #9f2bb2; $custom-light: #bf71ca; $custom-dark: #000000;
JSON
{
"hex": "#9f2bb2",
"rgb": {
"r": 159,
"g": 43,
"b": 178
},
"hsl": {
"h": 291.556,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.52562,
"c": 0.21403,
"h": 321.6
},
"luminance": 0.12313
}Semantic roles & 50–950 ramp
primary
#9F2BB2
secondary
#7EC772
accent
#E4445A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82