#97229D#97229D

#97229D is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.203 H 325.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#97229D
RGBrgb(151, 34, 157)
HSLhsl(297, 64%, 37%)
HSVhsv(297, 78%, 62%)
CMYKcmyk(3.8%, 78.3%, 0%, 38.4%)
CIE-LABlab(38.13, 61.19, -40.79)
CIE-LCHlch(38.13, 73.54, 326.31°)
OKLaboklab(49.35% 0.1677 -0.1135)
OKLCHoklch(49.35% 0.203 325.9)
XYZxyz(19.4199, 10.1590, 32.8298)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97229D #289D22
analogous
#59229D #97229D #9D2266
triadic
#97229D #9D9722 #229D97
tetradic
#97229D #9D5922 #289D22 #22669D
square
#97229D #9D5922 #289D22 #22669D
split-complementary
#97229D #669D22 #229D59
monochromatic
#360C38 #67176B #97229D #C72DCF #D65DDC

Accessibility & contrast

On white

6.93
#97229D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#97229D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97229D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97229D#FFFFFF#000000##FFFFFF
##97229D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#405F9A
Tritanopia (blue-blind)
#9B395F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97229d;
/* rgb */ color: rgb(151, 34, 157);
/* oklch */ color: oklch(49.3% 0.203 325.9);
Tailwind
colors: {
  custom: {
    50: '#b96cba',
    500: '#97229d',
    950: '#000000',
  },
}
SCSS
$custom: #97229d;
$custom-light: #b96cba;
$custom-dark: #000000;
JSON
{
  "hex": "#97229d",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 297.073,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.20254,
    "h": 325.9
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#97229D
secondary
#5FC15A
accent
#E74049
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #97229D

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

Preview Lab → · Contrast checker → · Palette generator →

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