#971789#971789

#971789 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.197 H 333.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#971789
RGBrgb(151, 23, 137)
HSLhsl(307, 74%, 34%)
HSVhsv(307, 85%, 59%)
CMYKcmyk(0%, 84.8%, 9.3%, 40.8%)
CIE-LABlab(35.98, 60.84, -31.97)
CIE-LCHlch(35.98, 68.73, 332.27°)
OKLaboklab(47.45% 0.1763 -0.0879)
OKLCHoklch(47.45% 0.197 333.5)
XYZxyz(17.5844, 8.9998, 24.4731)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971789 #179725
analogous
#651797 #971789 #971749
triadic
#971789 #899717 #178997
tetradic
#971789 #976517 #179725 #174997
square
#971789 #976517 #179725 #174997
split-complementary
#971789 #499717 #179765
monochromatic
#2D0729 #620F59 #971789 #CC1FB9 #E346D2

Accessibility & contrast

On white

7.50
#971789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#971789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971789
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971789#FFFFFF#000000##FFFFFF
##9717891.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#9E2752
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971789;
/* rgb */ color: rgb(151, 23, 137);
/* oklch */ color: oklch(47.4% 0.197 333.5);
Tailwind
colors: {
  custom: {
    50: '#ba67ac',
    500: '#971789',
    950: '#000000',
  },
}
SCSS
$custom: #971789;
$custom-light: #ba67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#971789",
  "rgb": {
    "r": 151,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 306.563,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.19702,
    "h": 333.5
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#971789
secondary
#46C454
accent
#F04C38
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971789

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

Preview Lab → · Contrast checker → · Palette generator →

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