#972892#972892

#972892 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.188 H 329.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#972892
RGBrgb(151, 40, 146)
HSLhsl(303, 58%, 37%)
HSVhsv(303, 74%, 59%)
CMYKcmyk(0%, 73.5%, 3.3%, 40.8%)
CIE-LABlab(38.15, 57.44, -34.07)
CIE-LCHlch(38.15, 66.78, 329.33°)
OKLaboklab(49.16% 0.1625 -0.094)
OKLCHoklch(49.16% 0.188 329.9)
XYZxyz(18.7095, 10.1737, 28.1669)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972892 #28972D
analogous
#652897 #972892 #97285A
triadic
#972892 #929728 #289297
tetradic
#972892 #976528 #28972D #285A97
square
#972892 #976528 #28972D #285A97
split-complementary
#972892 #5A9728 #289765
monochromatic
#360E34 #671B63 #972892 #C735C1 #D664D1

Accessibility & contrast

On white

6.92
#972892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#972892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972892
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972892#FFFFFF#000000##FFFFFF
##9728921.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5095
Deuteranopia (green-blind)
#495F8F
Tritanopia (blue-blind)
#9D375B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972892;
/* rgb */ color: rgb(151, 40, 146);
/* oklch */ color: oklch(49.2% 0.188 329.9);
Tailwind
colors: {
  custom: {
    50: '#b96eb2',
    500: '#972892',
    950: '#000000',
  },
}
SCSS
$custom: #972892;
$custom-light: #b96eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#972892",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 302.703,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.18778,
    "h": 329.9
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#972892
secondary
#5FBC63
accent
#E14D46
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972892

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

Preview Lab → · Contrast checker → · Palette generator →

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