#97238F#97238F

#97238F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.191 H 331.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#97238F
RGBrgb(151, 35, 143)
HSLhsl(304, 62%, 36%)
HSVhsv(304, 77%, 59%)
CMYKcmyk(0%, 76.8%, 5.3%, 40.8%)
CIE-LABlab(37.42, 58.58, -33.40)
CIE-LCHlch(37.42, 67.43, 330.31°)
OKLaboklab(48.58% 0.1671 -0.0921)
OKLCHoklch(48.58% 0.191 331.2)
XYZxyz(18.3214, 9.7660, 26.9014)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97238F #23972B
analogous
#652397 #97238F #972355
triadic
#97238F #8F9723 #238F97
tetradic
#97238F #976523 #23972B #235597
square
#97238F #976523 #23972B #235597
split-complementary
#97238F #559723 #239765
monochromatic
#340C31 #651760 #97238F #C92FBE #D95BD0

Accessibility & contrast

On white

7.11
#97238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#97238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97238F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97238F#FFFFFF#000000##FFFFFF
##97238F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#485E8C
Tritanopia (blue-blind)
#9D3258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97238f;
/* rgb */ color: rgb(151, 35, 143);
/* oklch */ color: oklch(48.6% 0.191 331.2);
Tailwind
colors: {
  custom: {
    50: '#b96cb0',
    500: '#97238f',
    950: '#000000',
  },
}
SCSS
$custom: #97238f;
$custom-light: #b96cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#97238f",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 304.138,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4858,
    "c": 0.19082,
    "h": 331.2
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#97238F
secondary
#58BE5F
accent
#E54E42
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #97238F

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

Preview Lab → · Contrast checker → · Palette generator →

#97238F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva