#97229F#97229F

#97229F is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.204 H 325.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#97229F
RGBrgb(151, 34, 159)
HSLhsl(296, 65%, 38%)
HSVhsv(296, 79%, 62%)
CMYKcmyk(5%, 78.6%, 0%, 37.6%)
CIE-LABlab(38.25, 61.53, -41.80)
CIE-LCHlch(38.25, 74.39, 325.81°)
OKLaboklab(49.47% 0.1676 -0.1165)
OKLCHoklch(49.47% 0.204 325.2)
XYZxyz(19.5921, 10.2279, 33.7364)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97229F #2A9F22
analogous
#58229F #97229F #9F2268
triadic
#97229F #9F9722 #229F97
tetradic
#97229F #9F5822 #2A9F22 #22689F
square
#97229F #9F5822 #2A9F22 #22689F
split-complementary
#97229F #689F22 #229F58
monochromatic
#370C3A #67176D #97229F #C72DD1 #D55FDD

Accessibility & contrast

On white

6.90
#97229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#97229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97229F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97229F#FFFFFF#000000##FFFFFF
##97229F1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#3E5F9C
Tritanopia (blue-blind)
#9A3A60
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97229f;
/* rgb */ color: rgb(151, 34, 159);
/* oklch */ color: oklch(49.5% 0.204 325.2);
Tailwind
colors: {
  custom: {
    50: '#b96cbc',
    500: '#97229f',
    950: '#000000',
  },
}
SCSS
$custom: #97229f;
$custom-light: #b96cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#97229f",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 296.16,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.20411,
    "h": 325.2
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#97229F
secondary
#62C15B
accent
#E8404B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #97229F

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

Preview Lab → · Contrast checker → · Palette generator →

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