#97229B#97229B

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

Color values

HEX#97229B
RGBrgb(151, 34, 155)
HSLhsl(298, 64%, 37%)
HSVhsv(298, 78%, 61%)
CMYKcmyk(2.6%, 78.1%, 0%, 39.2%)
CIE-LABlab(38.01, 60.85, -39.77)
CIE-LCHlch(38.01, 72.69, 326.83°)
OKLaboklab(49.22% 0.1678 -0.1106)
OKLCHoklch(49.22% 0.201 326.6)
XYZxyz(19.2506, 10.0913, 31.9379)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97229B #269B22
analogous
#5B229B #97229B #9B2262
triadic
#97229B #9B9722 #229B97
tetradic
#97229B #9B5B22 #269B22 #22629B
square
#97229B #9B5B22 #269B22 #22629B
split-complementary
#97229B #629B22 #229B5B
monochromatic
#350C37 #661769 #97229B #C82DCD #D75CDB

Accessibility & contrast

On white

6.96
#97229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#97229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97229B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97229B#FFFFFF#000000##FFFFFF
##97229B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#415E98
Tritanopia (blue-blind)
#9B385E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97229b;
/* rgb */ color: rgb(151, 34, 155);
/* oklch */ color: oklch(49.2% 0.201 326.6);
Tailwind
colors: {
  custom: {
    50: '#b96cb9',
    500: '#97229b',
    950: '#000000',
  },
}
SCSS
$custom: #97229b;
$custom-light: #b96cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#97229b",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 298.017,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49221,
    "c": 0.20098,
    "h": 326.6
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#97229B
secondary
#5CC059
accent
#E74146
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97229B

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

Preview Lab → · Contrast checker → · Palette generator →

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