#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
RGBrgb(151, 36, 142)
HSLhsl(305, 61%, 37%)
HSVhsv(305, 76%, 59%)
CMYKcmyk(0%, 76.2%, 6%, 40.8%)
CIE-LABlab(37.47, 58.10, -32.70)
CIE-LCHlch(37.47, 66.67, 330.63°)
OKLaboklab(48.6% 0.1662 -0.09)
OKLCHoklch(48.6% 0.189 331.6)
XYZxyz(18.2759, 9.7956, 26.5141)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##97248E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.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

Preview Lab

Preview with #97248E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#97248E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva