#972395#972395

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

Color values

HEX#972395
RGBrgb(151, 35, 149)
HSLhsl(301, 62%, 36%)
HSVhsv(301, 77%, 59%)
CMYKcmyk(0%, 76.8%, 1.3%, 40.8%)
CIE-LABlab(37.76, 59.55, -36.52)
CIE-LCHlch(37.76, 69.86, 328.48°)
OKLaboklab(48.93% 0.1672 -0.1011)
OKLCHoklch(48.93% 0.195 328.8)
XYZxyz(18.7882, 9.9527, 29.3595)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972395 #239725
analogous
#5F2397 #972395 #97235B
triadic
#972395 #959723 #239597
tetradic
#972395 #975F23 #239725 #235B97
square
#972395 #975F23 #239725 #235B97
split-complementary
#972395 #5B9723 #23975F
monochromatic
#340C33 #651764 #972395 #C92FC6 #D95BD7

Accessibility & contrast

On white

7.02
#972395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#972395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972395
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972395#FFFFFF#000000##FFFFFF
##9723951.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972395;
/* rgb */ color: rgb(151, 35, 149);
/* oklch */ color: oklch(48.9% 0.195 328.8);
Tailwind
colors: {
  custom: {
    50: '#b96cb4',
    500: '#972395',
    950: '#000000',
  },
}
SCSS
$custom: #972395;
$custom-light: #b96cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#972395",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 301.034,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48931,
    "c": 0.19537,
    "h": 328.8
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#972395
secondary
#58BE5A
accent
#E54542
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972395

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

Preview Lab → · Contrast checker → · Palette generator →

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