#96297F#96297F
#96297F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.172 H 337.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #96297F |
|---|---|
| RGB | rgb(150, 41, 127) |
| HSL | hsl(313, 57%, 37%) |
| HSV | hsv(313, 73%, 59%) |
| CMYK | cmyk(0%, 72.7%, 15.3%, 41.2%) |
| CIE-LAB | lab(37.12, 53.85, -24.01) |
| CIE-LCH | lch(37.12, 58.96, 335.97°) |
| OKLab | oklab(48.06% 0.159 -0.0651) |
| OKLCH | oklch(48.06% 0.172 337.7) |
| XYZ | xyz(17.2017, 9.6038, 21.0223) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.42
Barney Purple
#A00498
ΔE00 5.47
Light Eggplant
#894585
ΔE00 5.84
Red Violet
#9E0168
ΔE00 5.92
Darkmagenta
#8B008B
ΔE00 6.50
Bruise
#7E4071
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96297F #299640
analogous
#772996 #96297F #962948
triadic
#96297F #7F9629 #297F96
tetradic
#96297F #967729 #299640 #294896
square
#96297F #967729 #299640 #294896
split-complementary
#96297F #489629 #299677
monochromatic
#360F2E #661C56 #96297F #C636A8 #D565BD
Accessibility & contrast
On white
7.19
#96297F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#96297F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96297F
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96297F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96297F | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#9E2F51
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #96297f; /* rgb */ color: rgb(150, 41, 127); /* oklch */ color: oklch(48.1% 0.172 337.7);
Tailwind
colors: {
custom: {
50: '#b86da4',
500: '#96297f',
950: '#000000',
},
}SCSS
$custom: #96297f; $custom-light: #b86da4; $custom-dark: #000000;
JSON
{
"hex": "#96297f",
"rgb": {
"r": 150,
"g": 41,
"b": 127
},
"hsl": {
"h": 312.661,
"s": 57.068,
"l": 37.451
},
"oklch": {
"l": 0.48064,
"c": 0.17182,
"h": 337.7
},
"luminance": 0.09602
}Semantic roles & 50–950 ramp
primary
#96297F
secondary
#60BB73
accent
#E06847
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F