#9B237F#9B237F
#9B237F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.182 H 339.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9B237F |
|---|---|
| RGB | rgb(155, 35, 127) |
| HSL | hsl(314, 63%, 37%) |
| HSV | hsv(314, 77%, 61%) |
| CMYK | cmyk(0%, 77.4%, 18.1%, 39.2%) |
| CIE-LAB | lab(37.31, 57.09, -23.65) |
| CIE-LCH | lch(37.31, 61.80, 337.50°) |
| OKLab | oklab(48.37% 0.17 -0.064) |
| OKLCH | oklch(48.37% 0.182 339.4) |
| XYZ | xyz(17.9498, 9.7047, 21.0024) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.94
Red Violet
#9E0168
ΔE00 5.29
Barney Purple
#A00498
ΔE00 5.33
Darkmagenta
#8B008B
ΔE00 6.72
Light Eggplant
#894585
ΔE00 6.72
Bruise
#7E4071
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B237F #239B3F
analogous
#7B239B #9B237F #9B2343
triadic
#9B237F #7F9B23 #237F9B
tetradic
#9B237F #9B7B23 #239B3F #23439B
square
#9B237F #9B7B23 #239B3F #23439B
split-complementary
#9B237F #439B23 #239B7B
monochromatic
#370C2D #691856 #9B237F #CD2EA8 #DB5EBD
Accessibility & contrast
On white
7.14
#9B237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9B237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B237F
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B237F | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#A4284F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9b237f; /* rgb */ color: rgb(155, 35, 127); /* oklch */ color: oklch(48.4% 0.182 339.4);
Tailwind
colors: {
custom: {
50: '#bc6ba4',
500: '#9b237f',
950: '#000000',
},
}SCSS
$custom: #9b237f; $custom-light: #bc6ba4; $custom-dark: #000000;
JSON
{
"hex": "#9b237f",
"rgb": {
"r": 155,
"g": 35,
"b": 127
},
"hsl": {
"h": 314,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.48366,
"c": 0.18165,
"h": 339.4
},
"luminance": 0.09703
}Semantic roles & 50–950 ramp
primary
#9B237F
secondary
#5ABF72
accent
#E66842
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F