#97229C#97229C

#97229C is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.202 H 326.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#97229C
RGBrgb(151, 34, 156)
HSLhsl(298, 64%, 37%)
HSVhsv(298, 78%, 61%)
CMYKcmyk(3.2%, 78.2%, 0%, 38.8%)
CIE-LABlab(38.07, 61.02, -40.28)
CIE-LCHlch(38.07, 73.12, 326.57°)
OKLaboklab(49.28% 0.1678 -0.1121)
OKLCHoklch(49.28% 0.202 326.3)
XYZxyz(19.3349, 10.1250, 32.3820)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97229C #279C22
analogous
#5A229C #97229C #9C2264
triadic
#97229C #9C9722 #229C97
tetradic
#97229C #9C5A22 #279C22 #22649C
square
#97229C #9C5A22 #279C22 #22649C
split-complementary
#97229C #649C22 #229C5A
monochromatic
#360C38 #66176A #97229C #C82DCE #D65DDC

Accessibility & contrast

On white

6.94
#97229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97229C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97229C#FFFFFF#000000##FFFFFF
##97229C1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#405F99
Tritanopia (blue-blind)
#9B385F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97229c;
/* rgb */ color: rgb(151, 34, 156);
/* oklch */ color: oklch(49.3% 0.202 326.3);
Tailwind
colors: {
  custom: {
    50: '#b96cba',
    500: '#97229c',
    950: '#000000',
  },
}
SCSS
$custom: #97229c;
$custom-light: #b96cba;
$custom-dark: #000000;
JSON
{
  "hex": "#97229c",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 297.541,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.20176,
    "h": 326.3
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#97229C
secondary
#5EC05A
accent
#E74147
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97229C

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

Preview Lab → · Contrast checker → · Palette generator →

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