#972894#972894

#972894 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.189 H 329.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#972894
RGBrgb(151, 40, 148)
HSLhsl(302, 58%, 37%)
HSVhsv(302, 74%, 59%)
CMYKcmyk(0%, 73.5%, 2%, 40.8%)
CIE-LABlab(38.26, 57.77, -35.11)
CIE-LCHlch(38.26, 67.61, 328.71°)
OKLaboklab(49.27% 0.1626 -0.0971)
OKLCHoklch(49.27% 0.189 329.2)
XYZxyz(18.8664, 10.2364, 28.9934)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972894 #28972B
analogous
#632897 #972894 #97285C
triadic
#972894 #949728 #289497
tetradic
#972894 #976328 #28972B #285C97
square
#972894 #976328 #28972B #285C97
split-complementary
#972894 #5C9728 #289763
monochromatic
#360E35 #671B65 #972894 #C735C3 #D664D3

Accessibility & contrast

On white

6.89
#972894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#972894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972894
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972894#FFFFFF#000000##FFFFFF
##9728941.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175197
Deuteranopia (green-blind)
#485F91
Tritanopia (blue-blind)
#9C385C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972894;
/* rgb */ color: rgb(151, 40, 148);
/* oklch */ color: oklch(49.3% 0.189 329.2);
Tailwind
colors: {
  custom: {
    50: '#b96eb4',
    500: '#972894',
    950: '#000000',
  },
}
SCSS
$custom: #972894;
$custom-light: #b96eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#972894",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 301.622,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.18935,
    "h": 329.2
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#972894
secondary
#5FBC62
accent
#E14B46
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972894

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

Preview Lab → · Contrast checker → · Palette generator →

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