#97228F#97228F

#97228F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.192 H 331.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#97228F
RGBrgb(151, 34, 143)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 77%, 59%)
CMYKcmyk(0%, 77.5%, 5.3%, 40.8%)
CIE-LABlab(37.31, 58.88, -33.56)
CIE-LCHlch(37.31, 67.77, 330.32°)
OKLaboklab(48.5% 0.168 -0.0925)
OKLCHoklch(48.5% 0.192 331.2)
XYZxyz(18.2924, 9.7080, 26.8917)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97228F #22972A
analogous
#652297 #97228F #972255
triadic
#97228F #8F9722 #228F97
tetradic
#97228F #976522 #22972A #225597
square
#97228F #976522 #22972A #225597
split-complementary
#97228F #559722 #229765
monochromatic
#330C30 #651760 #97228F #C92DBE #DA5AD1

Accessibility & contrast

On white

7.14
#97228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#97228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97228F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97228F#FFFFFF#000000##FFFFFF
##97228F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E92
Deuteranopia (green-blind)
#485D8C
Tritanopia (blue-blind)
#9D3157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97228f;
/* rgb */ color: rgb(151, 34, 143);
/* oklch */ color: oklch(48.5% 0.192 331.2);
Tailwind
colors: {
  custom: {
    50: '#b96bb0',
    500: '#97228f',
    950: '#000000',
  },
}
SCSS
$custom: #97228f;
$custom-light: #b96bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#97228f",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 304.103,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48504,
    "c": 0.19182,
    "h": 331.2
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#97228F
secondary
#57BE5E
accent
#E64D42
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #97228F

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

Preview Lab → · Contrast checker → · Palette generator →

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