#972896#972896

#972896 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.191 H 328.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#972896
RGBrgb(151, 40, 150)
HSLhsl(301, 58%, 37%)
HSVhsv(301, 74%, 59%)
CMYKcmyk(0%, 73.5%, 0.7%, 40.8%)
CIE-LABlab(38.38, 58.11, -36.15)
CIE-LCHlch(38.38, 68.43, 328.11°)
OKLaboklab(49.39% 0.1626 -0.1001)
OKLCHoklch(49.39% 0.191 328.4)
XYZxyz(19.0261, 10.3003, 29.8343)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972896 #289729
analogous
#612897 #972896 #97285E
triadic
#972896 #969728 #289697
tetradic
#972896 #976128 #289729 #285E97
square
#972896 #976128 #289729 #285E97
split-complementary
#972896 #5E9728 #289761
monochromatic
#360E36 #671B66 #972896 #C735C6 #D664D5

Accessibility & contrast

On white

6.86
#972896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#972896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972896
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972896#FFFFFF#000000##FFFFFF
##9728961.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145199
Deuteranopia (green-blind)
#475F93
Tritanopia (blue-blind)
#9C395D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972896;
/* rgb */ color: rgb(151, 40, 150);
/* oklch */ color: oklch(49.4% 0.191 328.4);
Tailwind
colors: {
  custom: {
    50: '#b96eb5',
    500: '#972896',
    950: '#000000',
  },
}
SCSS
$custom: #972896;
$custom-light: #b96eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#972896",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 300.541,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.19092,
    "h": 328.4
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#972896
secondary
#5FBC60
accent
#E14846
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972896

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

Preview Lab → · Contrast checker → · Palette generator →

#972896 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva