#972AD3#972AD3

#972AD3 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.7% C 0.240 H 309.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#972AD3
RGBrgb(151, 42, 211)
HSLhsl(279, 67%, 50%)
HSVhsv(279, 80%, 83%)
CMYKcmyk(28.4%, 80.1%, 0%, 17.3%)
CIE-LABlab(42.67, 68.94, -65.30)
CIE-LCHlch(42.67, 94.96, 316.55°)
OKLaboklab(53.72% 0.1529 -0.1855)
OKLCHoklch(53.72% 0.24 309.5)
XYZxyz(25.3460, 12.9389, 62.7776)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AD3 #66D32A
analogous
#422AD3 #972AD3 #D32ABB
triadic
#972AD3 #D3972A #2AD397
tetradic
#972AD3 #D3422A #66D32A #2ABBD3
square
#972AD3 #D3422A #66D32A #2ABBD3
split-complementary
#972AD3 #BBD32A #2AD342
monochromatic
#4E166D #7220A0 #972AD3 #B05CDE #C98FE9

Accessibility & contrast

On white

5.85
#972AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#972AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AD3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AD3#FFFFFF#000000##FFFFFF
##972AD31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#8E5680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #972ad3;
/* rgb */ color: rgb(151, 42, 211);
/* oklch */ color: oklch(53.7% 0.240 309.5);
Tailwind
colors: {
  custom: {
    50: '#bb71e2',
    500: '#972ad3',
    950: '#000000',
  },
}
SCSS
$custom: #972ad3;
$custom-light: #bb71e2;
$custom-dark: #000000;
JSON
{
  "hex": "#972ad3",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 211
  },
  "hsl": {
    "h": 278.698,
    "s": 66.798,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53716,
    "c": 0.2404,
    "h": 309.5
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#972AD3
secondary
#A1D386
accent
#EA3E7B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #972AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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