#97229E#97229E

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

Color values

HEX#97229E
RGBrgb(151, 34, 158)
HSLhsl(297, 65%, 38%)
HSVhsv(297, 78%, 62%)
CMYKcmyk(4.4%, 78.5%, 0%, 38%)
CIE-LABlab(38.19, 61.36, -41.30)
CIE-LCHlch(38.19, 73.96, 326.06°)
OKLaboklab(49.41% 0.1677 -0.115)
OKLCHoklch(49.41% 0.203 325.5)
XYZxyz(19.5057, 10.1933, 33.2813)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97229E #299E22
analogous
#59229E #97229E #9E2267
triadic
#97229E #9E9722 #229E97
tetradic
#97229E #9E5922 #299E22 #22679E
square
#97229E #9E5922 #299E22 #22679E
split-complementary
#97229E #679E22 #229E59
monochromatic
#370C39 #67176C #97229E #C72DD0 #D55EDC

Accessibility & contrast

On white

6.91
#97229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#97229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97229E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97229E#FFFFFF#000000##FFFFFF
##97229E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#9B3960
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97229e;
/* rgb */ color: rgb(151, 34, 158);
/* oklch */ color: oklch(49.4% 0.203 325.5);
Tailwind
colors: {
  custom: {
    50: '#b96cbb',
    500: '#97229e',
    950: '#000000',
  },
}
SCSS
$custom: #97229e;
$custom-light: #b96cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#97229e",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 296.613,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49408,
    "c": 0.20332,
    "h": 325.5
  },
  "luminance": 0.10192
}

Semantic roles & 50–950 ramp

primary
#97229E
secondary
#61C15B
accent
#E8404A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #97229E

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

Preview Lab → · Contrast checker → · Palette generator →

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