#972BAF#972BAF

#972BAF is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.208 H 319.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#972BAF
RGBrgb(151, 43, 175)
HSLhsl(289, 61%, 43%)
HSVhsv(289, 75%, 69%)
CMYKcmyk(13.7%, 75.4%, 0%, 31.4%)
CIE-LABlab(40.25, 61.54, -48.17)
CIE-LCHlch(40.25, 78.15, 321.95°)
OKLaboklab(51.22% 0.1585 -0.1352)
OKLCHoklch(51.22% 0.208 319.5)
XYZxyz(21.3632, 11.4033, 41.6249)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BAF #43AF2B
analogous
#552BAF #972BAF #AF2B85
triadic
#972BAF #AF972B #2BAF97
tetradic
#972BAF #AF552B #43AF2B #2B85AF
square
#972BAF #AF552B #43AF2B #2B85AF
split-complementary
#972BAF #85AF2B #2BAF55
monochromatic
#42134D #6D1F7E #972BAF #B846D1 #CB77DE

Accessibility & contrast

On white

6.40
#972BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#972BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BAF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BAF#FFFFFF#000000##FFFFFF
##972BAF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#97466B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972baf;
/* rgb */ color: rgb(151, 43, 175);
/* oklch */ color: oklch(51.2% 0.208 319.5);
Tailwind
colors: {
  custom: {
    50: '#ba70c7',
    500: '#972baf',
    950: '#000000',
  },
}
SCSS
$custom: #972baf;
$custom-light: #ba70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#972baf",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 289.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.2083,
    "h": 319.5
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#972BAF
secondary
#80C570
accent
#E44461
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972BAF

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

Preview Lab → · Contrast checker → · Palette generator →

#972BAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva