#97229A#97229A

#97229A is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.200 H 327.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#97229A
RGBrgb(151, 34, 154)
HSLhsl(299, 64%, 37%)
HSVhsv(299, 78%, 60%)
CMYKcmyk(1.9%, 77.9%, 0%, 39.6%)
CIE-LABlab(37.95, 60.68, -39.26)
CIE-LCHlch(37.95, 72.28, 327.10°)
OKLaboklab(49.16% 0.1679 -0.1091)
OKLCHoklch(49.16% 0.2 327)
XYZxyz(19.1669, 10.0578, 31.4974)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97229A #259A22
analogous
#5B229A #97229A #9A2261
triadic
#97229A #9A9722 #229A97
tetradic
#97229A #9A5B22 #259A22 #22619A
square
#97229A #9A5B22 #259A22 #22619A
split-complementary
#97229A #619A22 #229A5B
monochromatic
#350C36 #661768 #97229A #C82DCC #D85BDB

Accessibility & contrast

On white

6.97
#97229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#97229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97229A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97229A#FFFFFF#000000##FFFFFF
##97229A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#425E97
Tritanopia (blue-blind)
#9B375E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97229a;
/* rgb */ color: rgb(151, 34, 154);
/* oklch */ color: oklch(49.2% 0.200 327.0);
Tailwind
colors: {
  custom: {
    50: '#b96cb8',
    500: '#97229a',
    950: '#000000',
  },
}
SCSS
$custom: #97229a;
$custom-light: #b96cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#97229a",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 298.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.2002,
    "h": 327
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#97229A
secondary
#5BBF58
accent
#E74145
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97229A

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

Preview Lab → · Contrast checker → · Palette generator →

#97229A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva