#972688#972688

#972688 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.182 H 334.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#972688
RGBrgb(151, 38, 136)
HSLhsl(308, 60%, 37%)
HSVhsv(308, 75%, 59%)
CMYKcmyk(0%, 74.8%, 9.9%, 40.8%)
CIE-LABlab(37.38, 56.51, -29.16)
CIE-LCHlch(37.38, 63.59, 332.71°)
OKLaboklab(48.43% 0.164 -0.0798)
OKLCHoklch(48.43% 0.182 334)
XYZxyz(17.8997, 9.7447, 24.2260)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972688 #269735
analogous
#6E2697 #972688 #97264F
triadic
#972688 #889726 #268897
tetradic
#972688 #976E26 #269735 #264F97
square
#972688 #976E26 #269735 #264F97
split-complementary
#972688 #4F9726 #26976E
monochromatic
#350D30 #661A5C #972688 #C832B4 #D760C7

Accessibility & contrast

On white

7.12
#972688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#972688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972688
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972688#FFFFFF#000000##FFFFFF
##9726881.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#9E3054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972688;
/* rgb */ color: rgb(151, 38, 136);
/* oklch */ color: oklch(48.4% 0.182 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96cab',
    500: '#972688',
    950: '#000000',
  },
}
SCSS
$custom: #972688;
$custom-light: #b96cab;
$custom-dark: #000000;
JSON
{
  "hex": "#972688",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 307.965,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.18242,
    "h": 334
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#972688
secondary
#5CBC69
accent
#E35A45
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972688

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

Preview Lab → · Contrast checker → · Palette generator →

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