#972293#972293

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

Color values

HEX#972293
RGBrgb(151, 34, 147)
HSLhsl(302, 63%, 36%)
HSVhsv(302, 77%, 59%)
CMYKcmyk(0%, 77.5%, 2.6%, 40.8%)
CIE-LABlab(37.54, 59.52, -35.65)
CIE-LCHlch(37.54, 69.38, 329.08°)
OKLaboklab(48.74% 0.168 -0.0986)
OKLCHoklch(48.74% 0.195 329.6)
XYZxyz(18.6009, 9.8314, 28.5161)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972293 #229726
analogous
#612297 #972293 #972259
triadic
#972293 #939722 #229397
tetradic
#972293 #976122 #229726 #225997
square
#972293 #976122 #229726 #225997
split-complementary
#972293 #599722 #229761
monochromatic
#330C32 #651762 #972293 #C92DC4 #DA5AD5

Accessibility & contrast

On white

7.08
#972293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#972293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972293
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972293#FFFFFF#000000##FFFFFF
##9722931.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E96
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#9D335A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972293;
/* rgb */ color: rgb(151, 34, 147);
/* oklch */ color: oklch(48.7% 0.195 329.6);
Tailwind
colors: {
  custom: {
    50: '#b96bb3',
    500: '#972293',
    950: '#000000',
  },
}
SCSS
$custom: #972293;
$custom-light: #b96bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#972293",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 302.051,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.19483,
    "h": 329.6
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#972293
secondary
#57BE5A
accent
#E64742
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972293

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

Preview Lab → · Contrast checker → · Palette generator →

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