#972698#972698

#972698 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.195 H 327.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#972698
RGBrgb(151, 38, 152)
HSLhsl(299, 60%, 37%)
HSVhsv(299, 75%, 60%)
CMYKcmyk(0.7%, 75%, 0%, 40.4%)
CIE-LABlab(38.26, 59.11, -37.55)
CIE-LCHlch(38.26, 70.03, 327.57°)
OKLaboklab(49.34% 0.1645 -0.1041)
OKLCHoklch(49.34% 0.195 327.7)
XYZxyz(19.1228, 10.2339, 30.6678)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972698 #279826
analogous
#5E2698 #972698 #982660
triadic
#972698 #989726 #269897
tetradic
#972698 #985E26 #279826 #266098
square
#972698 #985E26 #279826 #266098
split-complementary
#972698 #609826 #26985E
monochromatic
#360E36 #661A67 #972698 #C832C9 #D661D7

Accessibility & contrast

On white

6.89
#972698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#972698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972698
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972698#FFFFFF#000000##FFFFFF
##9726981.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#9C385D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972698;
/* rgb */ color: rgb(151, 38, 152);
/* oklch */ color: oklch(49.3% 0.195 327.7);
Tailwind
colors: {
  custom: {
    50: '#b96db7',
    500: '#972698',
    950: '#000000',
  },
}
SCSS
$custom: #972698;
$custom-light: #b96db7;
$custom-dark: #000000;
JSON
{
  "hex": "#972698",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 299.474,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49344,
    "c": 0.19465,
    "h": 327.7
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#972698
secondary
#5EBD5D
accent
#E34546
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972698

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

Preview Lab → · Contrast checker → · Palette generator →

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