#97238E#97238E

#97238E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.190 H 331.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#97238E
RGBrgb(151, 35, 142)
HSLhsl(305, 62%, 36%)
HSVhsv(305, 77%, 59%)
CMYKcmyk(0%, 76.8%, 6%, 40.8%)
CIE-LABlab(37.36, 58.42, -32.87)
CIE-LCHlch(37.36, 67.03, 330.63°)
OKLaboklab(48.52% 0.1671 -0.0905)
OKLCHoklch(48.52% 0.19 331.6)
XYZxyz(18.2460, 9.7359, 26.5042)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97238E #23972C
analogous
#662397 #97238E #972354
triadic
#97238E #8E9723 #238E97
tetradic
#97238E #976623 #23972C #235497
square
#97238E #976623 #23972C #235497
split-complementary
#97238E #549723 #239766
monochromatic
#340C31 #65175F #97238E #C92FBD #D95BCF

Accessibility & contrast

On white

7.13
#97238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97238E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97238E#FFFFFF#000000##FFFFFF
##97238E1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E91
Deuteranopia (green-blind)
#495E8B
Tritanopia (blue-blind)
#9D3257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97238e;
/* rgb */ color: rgb(151, 35, 142);
/* oklch */ color: oklch(48.5% 0.190 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96baf',
    500: '#97238e',
    950: '#000000',
  },
}
SCSS
$custom: #97238e;
$custom-light: #b96baf;
$custom-dark: #000000;
JSON
{
  "hex": "#97238e",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 304.655,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.19006,
    "h": 331.6
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#97238E
secondary
#58BE60
accent
#E54F42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97238E

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

Preview Lab → · Contrast checker → · Palette generator →

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