#9B307E#9B307E
#9B307E is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.166 H 340.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9B307E |
|---|---|
| RGB | rgb(155, 48, 126) |
| HSL | hsl(316, 53%, 40%) |
| HSV | hsv(316, 69%, 61%) |
| CMYK | cmyk(0%, 69%, 18.7%, 39.2%) |
| CIE-LAB | lab(38.88, 52.37, -20.58) |
| CIE-LCH | lch(38.88, 56.27, 338.54°) |
| OKLab | oklab(49.49% 0.156 -0.0554) |
| OKLCH | oklch(49.49% 0.166 340.4) |
| XYZ | xyz(18.3409, 10.5906, 20.8129) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.60
Light Eggplant
#894585
ΔE00 5.57
Red Violet
#9E0168
ΔE00 5.83
Bruise
#7E4071
ΔE00 6.57
Barney Purple
#A00498
ΔE00 6.84
Ugly Purple
#A442A0
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B307E #309B4D
analogous
#83309B #9B307E #9B3048
triadic
#9B307E #7E9B30 #307E9B
tetradic
#9B307E #9B8330 #309B4D #30489B
square
#9B307E #9B8330 #309B4D #30489B
split-complementary
#9B307E #489B30 #309B83
monochromatic
#3E1332 #6C2258 #9B307E #C543A2 #D372B9
Accessibility & contrast
On white
6.74
#9B307E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9B307E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B307E
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B307E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B307E | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#A43352
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9b307e; /* rgb */ color: rgb(155, 48, 126); /* oklch */ color: oklch(49.5% 0.166 340.4);
Tailwind
colors: {
custom: {
50: '#bc71a3',
500: '#9b307e',
950: '#000000',
},
}SCSS
$custom: #9b307e; $custom-light: #bc71a3; $custom-dark: #000000;
JSON
{
"hex": "#9b307e",
"rgb": {
"r": 155,
"g": 48,
"b": 126
},
"hsl": {
"h": 316.262,
"s": 52.709,
"l": 39.804
},
"oklch": {
"l": 0.49493,
"c": 0.16556,
"h": 340.4
},
"luminance": 0.10589
}Semantic roles & 50–950 ramp
primary
#9B307E
secondary
#6CBB81
accent
#DC734C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F