#972BD0#972BD0

#972BD0 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.6% C 0.237 H 310.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#972BD0
RGBrgb(151, 43, 208)
HSLhsl(279, 66%, 49%)
HSVhsv(279, 79%, 82%)
CMYKcmyk(27.4%, 79.3%, 0%, 18.4%)
CIE-LABlab(42.55, 68.01, -63.76)
CIE-LCHlch(42.55, 93.23, 316.85°)
OKLaboklab(53.56% 0.1529 -0.181)
OKLCHoklch(53.56% 0.237 310.2)
XYZxyz(25.0093, 12.8617, 60.8274)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BD0 #64D02B
analogous
#452BD0 #972BD0 #D02BB7
triadic
#972BD0 #D0972B #2BD097
tetradic
#972BD0 #D0452B #64D02B #2BB7D0
square
#972BD0 #D0452B #64D02B #2BB7D0
split-complementary
#972BD0 #B7D02B #2BD045
monochromatic
#4D166B #72219D #972BD0 #B05BDD #C98EE8

Accessibility & contrast

On white

5.88
#972BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#972BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BD0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BD0#FFFFFF#000000##FFFFFF
##972BD01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#8F557E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #972bd0;
/* rgb */ color: rgb(151, 43, 208);
/* oklch */ color: oklch(53.6% 0.237 310.2);
Tailwind
colors: {
  custom: {
    50: '#bb72df',
    500: '#972bd0',
    950: '#000000',
  },
}
SCSS
$custom: #972bd0;
$custom-light: #bb72df;
$custom-dark: #000000;
JSON
{
  "hex": "#972bd0",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 208
  },
  "hsl": {
    "h": 279.273,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.2369,
    "h": 310.2
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#972BD0
secondary
#A0D285
accent
#E93F7A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #972BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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