#972492#972492

#972492 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.192 H 330.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#972492
RGBrgb(151, 36, 146)
HSLhsl(303, 61%, 37%)
HSVhsv(303, 76%, 59%)
CMYKcmyk(0%, 76.2%, 3.3%, 40.8%)
CIE-LABlab(37.69, 58.75, -34.79)
CIE-LCHlch(37.69, 68.28, 329.36°)
OKLaboklab(48.83% 0.1663 -0.0961)
OKLCHoklch(48.83% 0.192 330)
XYZxyz(18.5816, 9.9178, 28.1242)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972492 #249729
analogous
#632497 #972492 #972459
triadic
#972492 #929724 #249297
tetradic
#972492 #976324 #249729 #245997
square
#972492 #976324 #249729 #245997
split-complementary
#972492 #599724 #249763
monochromatic
#340C32 #661862 #972492 #C830C2 #D85DD3

Accessibility & contrast

On white

7.04
#972492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#972492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972492
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972492#FFFFFF#000000##FFFFFF
##9724921.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144F95
Deuteranopia (green-blind)
#475E8F
Tritanopia (blue-blind)
#9D3459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972492;
/* rgb */ color: rgb(151, 36, 146);
/* oklch */ color: oklch(48.8% 0.192 330.0);
Tailwind
colors: {
  custom: {
    50: '#b96cb2',
    500: '#972492',
    950: '#000000',
  },
}
SCSS
$custom: #972492;
$custom-light: #b96cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#972492",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 302.609,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.19207,
    "h": 330
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#972492
secondary
#5ABD5E
accent
#E54A43
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972492

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

Preview Lab → · Contrast checker → · Palette generator →

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