#97248E#97248E
#97248E is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.189 H 331.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #97248E |
|---|---|
| RGB | rgb(151, 36, 142) |
| HSL | hsl(305, 61%, 37%) |
| HSV | hsv(305, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 6%, 40.8%) |
| CIE-LAB | lab(37.47, 58.10, -32.70) |
| CIE-LCH | lch(37.47, 66.67, 330.63°) |
| OKLab | oklab(48.6% 0.1662 -0.09) |
| OKLCH | oklch(48.6% 0.189 331.6) |
| XYZ | xyz(18.2759, 9.7956, 26.5141) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.35
Barney Purple
#A00498
ΔE00 2.65
Darkmagenta
#8B008B
ΔE00 4.52
Purple
#800080
ΔE00 6.37
Medium Purple
#9E43A2
ΔE00 6.46
Light Eggplant
#894585
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97248E #24972D
analogous
#672497 #97248E #972455
triadic
#97248E #8E9724 #248E97
tetradic
#97248E #976724 #24972D #245597
square
#97248E #976724 #24972D #245597
split-complementary
#97248E #559724 #249767
monochromatic
#340C31 #661860 #97248E #C830BC #D85DCF
Accessibility & contrast
On white
7.10
#97248E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#97248E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97248E
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97248E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97248E | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#495E8B
Tritanopia (blue-blind)
#9D3257
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #97248e; /* rgb */ color: rgb(151, 36, 142); /* oklch */ color: oklch(48.6% 0.189 331.6);
Tailwind
colors: {
custom: {
50: '#b96caf',
500: '#97248e',
950: '#000000',
},
}SCSS
$custom: #97248e; $custom-light: #b96caf; $custom-dark: #000000;
JSON
{
"hex": "#97248e",
"rgb": {
"r": 151,
"g": 36,
"b": 142
},
"hsl": {
"h": 304.696,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.486,
"c": 0.18904,
"h": 331.6
},
"luminance": 0.09794
}Semantic roles & 50–950 ramp
primary
#97248E
secondary
#5ABD61
accent
#E55043
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F