#972BB0#972BB0

#972BB0 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.209 H 319.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#972BB0
RGBrgb(151, 43, 176)
HSLhsl(289, 61%, 43%)
HSVhsv(289, 76%, 69%)
CMYKcmyk(14.2%, 75.6%, 0%, 31%)
CIE-LABlab(40.32, 61.73, -48.66)
CIE-LCHlch(40.32, 78.60, 321.75°)
OKLaboklab(51.28% 0.1584 -0.1366)
OKLCHoklch(51.28% 0.209 319.2)
XYZxyz(21.4618, 11.4427, 42.1441)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BB0 #44B02B
analogous
#542BB0 #972BB0 #B02B86
triadic
#972BB0 #B0972B #2BB097
tetradic
#972BB0 #B0542B #44B02B #2B86B0
square
#972BB0 #B0542B #44B02B #2B86B0
split-complementary
#972BB0 #86B02B #2BB054
monochromatic
#43134E #6D1F7F #972BB0 #B846D2 #CB78DE

Accessibility & contrast

On white

6.39
#972BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#972BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BB0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BB0#FFFFFF#000000##FFFFFF
##972BB01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#97476C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972bb0;
/* rgb */ color: rgb(151, 43, 176);
/* oklch */ color: oklch(51.3% 0.209 319.2);
Tailwind
colors: {
  custom: {
    50: '#ba70c8',
    500: '#972bb0',
    950: '#000000',
  },
}
SCSS
$custom: #972bb0;
$custom-light: #ba70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#972bb0",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 288.722,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.20915,
    "h": 319.2
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#972BB0
secondary
#81C671
accent
#E44462
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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