#972CD2#972CD2

#972CD2 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.8% C 0.238 H 309.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#972CD2
RGBrgb(151, 44, 210)
HSLhsl(279, 65%, 50%)
HSVhsv(279, 79%, 82%)
CMYKcmyk(28.1%, 79%, 0%, 17.6%)
CIE-LABlab(42.81, 68.10, -64.49)
CIE-LCHlch(42.81, 93.79, 316.56°)
OKLaboklab(53.79% 0.1517 -0.1831)
OKLCHoklch(53.79% 0.238 309.6)
XYZxyz(25.2937, 13.0343, 62.1437)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CD2 #67D22C
analogous
#442CD2 #972CD2 #D22CBA
triadic
#972CD2 #D2972C #2CD297
tetradic
#972CD2 #D2442C #67D22C #2CBAD2
square
#972CD2 #D2442C #67D22C #2CBAD2
split-complementary
#972CD2 #BAD22C #2CD244
monochromatic
#4E176D #73219F #972CD2 #B05EDD #C991E8

Accessibility & contrast

On white

5.82
#972CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#972CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CD2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CD2#FFFFFF#000000##FFFFFF
##972CD21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#8E5780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #972cd2;
/* rgb */ color: rgb(151, 44, 210);
/* oklch */ color: oklch(53.8% 0.238 309.6);
Tailwind
colors: {
  custom: {
    50: '#bb72e1',
    500: '#972cd2',
    950: '#000000',
  },
}
SCSS
$custom: #972cd2;
$custom-light: #bb72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#972cd2",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 210
  },
  "hsl": {
    "h": 278.675,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.23777,
    "h": 309.6
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#972CD2
secondary
#A2D287
accent
#E83F7B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #972CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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