#972095#972095

#972095 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 328.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#972095
RGBrgb(151, 32, 149)
HSLhsl(301, 65%, 36%)
HSVhsv(301, 79%, 59%)
CMYKcmyk(0%, 78.8%, 1.3%, 40.8%)
CIE-LABlab(37.45, 60.43, -37.01)
CIE-LCHlch(37.45, 70.86, 328.52°)
OKLaboklab(48.71% 0.1697 -0.1025)
OKLCHoklch(48.71% 0.198 328.9)
XYZxyz(18.7037, 9.7837, 29.3313)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972095 #209722
analogous
#5D2097 #972095 #972059
triadic
#972095 #959720 #209597
tetradic
#972095 #975D20 #209722 #205997
square
#972095 #975D20 #209722 #205997
split-complementary
#972095 #599720 #20975D
monochromatic
#320B31 #641563 #972095 #C92BC7 #DB56D9

Accessibility & contrast

On white

7.10
#972095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#972095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972095
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972095#FFFFFF#000000##FFFFFF
##9720951.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E98
Deuteranopia (green-blind)
#445D92
Tritanopia (blue-blind)
#9C335A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972095;
/* rgb */ color: rgb(151, 32, 149);
/* oklch */ color: oklch(48.7% 0.198 328.9);
Tailwind
colors: {
  custom: {
    50: '#b96bb4',
    500: '#972095',
    950: '#000000',
  },
}
SCSS
$custom: #972095;
$custom-light: #b96bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#972095",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 301.008,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48712,
    "c": 0.19824,
    "h": 328.9
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#972095
secondary
#54BF56
accent
#E84340
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #972095

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

Preview Lab → · Contrast checker → · Palette generator →

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