#972495#972495

#972495 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.194 H 328.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#972495
RGBrgb(151, 36, 149)
HSLhsl(301, 61%, 37%)
HSVhsv(301, 76%, 59%)
CMYKcmyk(0%, 76.2%, 1.3%, 40.8%)
CIE-LABlab(37.86, 59.24, -36.35)
CIE-LCHlch(37.86, 69.51, 328.46°)
OKLaboklab(49.01% 0.1663 -0.1006)
OKLCHoklch(49.01% 0.194 328.8)
XYZxyz(18.8180, 10.0124, 29.3694)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972495 #249726
analogous
#5F2497 #972495 #97245C
triadic
#972495 #959724 #249597
tetradic
#972495 #975F24 #249726 #245C97
square
#972495 #975F24 #249726 #245C97
split-complementary
#972495 #5C9724 #24975F
monochromatic
#340C33 #661864 #972495 #C830C6 #D85DD6

Accessibility & contrast

On white

6.99
#972495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#972495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972495
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972495#FFFFFF#000000##FFFFFF
##9724951.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#455E92
Tritanopia (blue-blind)
#9C365B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972495;
/* rgb */ color: rgb(151, 36, 149);
/* oklch */ color: oklch(49.0% 0.194 328.8);
Tailwind
colors: {
  custom: {
    50: '#b96cb4',
    500: '#972495',
    950: '#000000',
  },
}
SCSS
$custom: #972495;
$custom-light: #b96cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#972495",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 301.043,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.19437,
    "h": 328.8
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#972495
secondary
#5ABD5B
accent
#E54643
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972495

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

Preview Lab → · Contrast checker → · Palette generator →

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