#972895#972895

#972895 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.190 H 328.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#972895
RGBrgb(151, 40, 149)
HSLhsl(301, 58%, 37%)
HSVhsv(301, 74%, 59%)
CMYKcmyk(0%, 73.5%, 1.3%, 40.8%)
CIE-LABlab(38.32, 57.94, -35.63)
CIE-LCHlch(38.32, 68.02, 328.41°)
OKLaboklab(49.33% 0.1626 -0.0986)
OKLCHoklch(49.33% 0.19 328.8)
XYZxyz(18.9459, 10.2682, 29.4120)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972895 #28972A
analogous
#612897 #972895 #97285E
triadic
#972895 #959728 #289597
tetradic
#972895 #976128 #28972A #285E97
square
#972895 #976128 #28972A #285E97
split-complementary
#972895 #5E9728 #289761
monochromatic
#360E36 #671B65 #972895 #C735C5 #D664D4

Accessibility & contrast

On white

6.88
#972895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972895
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972895#FFFFFF#000000##FFFFFF
##9728951.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165198
Deuteranopia (green-blind)
#475F92
Tritanopia (blue-blind)
#9C385C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972895;
/* rgb */ color: rgb(151, 40, 149);
/* oklch */ color: oklch(49.3% 0.190 328.8);
Tailwind
colors: {
  custom: {
    50: '#b96eb4',
    500: '#972895',
    950: '#000000',
  },
}
SCSS
$custom: #972895;
$custom-light: #b96eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#972895",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 301.081,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.19013,
    "h": 328.8
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#972895
secondary
#5FBC61
accent
#E14946
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972895

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

Preview Lab → · Contrast checker → · Palette generator →

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