#972893#972893

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

Color values

HEX#972893
RGBrgb(151, 40, 147)
HSLhsl(302, 58%, 37%)
HSVhsv(302, 74%, 59%)
CMYKcmyk(0%, 73.5%, 2.6%, 40.8%)
CIE-LABlab(38.21, 57.61, -34.59)
CIE-LCHlch(38.21, 67.19, 329.02°)
OKLaboklab(49.22% 0.1626 -0.0956)
OKLCHoklch(49.22% 0.189 329.5)
XYZxyz(18.7876, 10.2049, 28.5783)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972893 #28972C
analogous
#632897 #972893 #97285C
triadic
#972893 #939728 #289397
tetradic
#972893 #976328 #28972C #285C97
square
#972893 #976328 #28972C #285C97
split-complementary
#972893 #5C9728 #289763
monochromatic
#360E35 #671B64 #972893 #C735C2 #D664D2

Accessibility & contrast

On white

6.91
#972893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#972893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972893
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972893#FFFFFF#000000##FFFFFF
##9728931.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195096
Deuteranopia (green-blind)
#485F90
Tritanopia (blue-blind)
#9C375B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972893;
/* rgb */ color: rgb(151, 40, 147);
/* oklch */ color: oklch(49.2% 0.189 329.5);
Tailwind
colors: {
  custom: {
    50: '#b96eb3',
    500: '#972893',
    950: '#000000',
  },
}
SCSS
$custom: #972893;
$custom-light: #b96eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#972893",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 302.162,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.18856,
    "h": 329.5
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #972893

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

Preview Lab → · Contrast checker → · Palette generator →

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