#972088#972088

#972088 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.189 H 334.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#972088
RGBrgb(151, 32, 136)
HSLhsl(308, 65%, 36%)
HSVhsv(308, 79%, 59%)
CMYKcmyk(0%, 78.8%, 9.9%, 40.8%)
CIE-LABlab(36.73, 58.38, -30.18)
CIE-LCHlch(36.73, 65.72, 332.66°)
OKLaboklab(47.96% 0.1695 -0.0828)
OKLCHoklch(47.96% 0.189 334)
XYZxyz(17.7231, 9.3915, 24.1671)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972088 #20972F
analogous
#6A2097 #972088 #97204C
triadic
#972088 #889720 #208897
tetradic
#972088 #976A20 #20972F #204C97
square
#972088 #976A20 #20972F #204C97
split-complementary
#972088 #4C9720 #20976A
monochromatic
#320B2D #64155B #972088 #C92BB5 #DB56CA

Accessibility & contrast

On white

7.30
#972088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#972088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972088
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972088#FFFFFF#000000##FFFFFF
##9720881.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8B
Deuteranopia (green-blind)
#4B5C85
Tritanopia (blue-blind)
#9E2C53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972088;
/* rgb */ color: rgb(151, 32, 136);
/* oklch */ color: oklch(48.0% 0.189 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96aab',
    500: '#972088',
    950: '#000000',
  },
}
SCSS
$custom: #972088;
$custom-light: #b96aab;
$custom-dark: #000000;
JSON
{
  "hex": "#972088",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 307.563,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47961,
    "c": 0.18864,
    "h": 334
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#972088
secondary
#54BF61
accent
#E85540
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972088

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

Preview Lab → · Contrast checker → · Palette generator →

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