#972CD4#972CD4

#972CD4 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.9% C 0.240 H 309.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#972CD4
RGBrgb(151, 44, 212)
HSLhsl(278, 66%, 50%)
HSVhsv(278, 79%, 83%)
CMYKcmyk(28.8%, 79.2%, 0%, 16.9%)
CIE-LABlab(42.97, 68.51, -65.40)
CIE-LCHlch(42.97, 94.71, 316.33°)
OKLaboklab(53.95% 0.1512 -0.1858)
OKLCHoklch(53.95% 0.24 309.1)
XYZxyz(25.5444, 13.1346, 63.4642)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CD4 #69D42C
analogous
#432CD4 #972CD4 #D42CBD
triadic
#972CD4 #D4972C #2CD497
tetradic
#972CD4 #D4432C #69D42C #2CBDD4
square
#972CD4 #D4432C #69D42C #2CBDD4
split-complementary
#972CD4 #BDD42C #2CD443
monochromatic
#4F176F #7321A2 #972CD4 #B05FDE #C992E9

Accessibility & contrast

On white

5.79
#972CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#972CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CD4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CD4#FFFFFF#000000##FFFFFF
##972CD41.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#8E5781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #972cd4;
/* rgb */ color: rgb(151, 44, 212);
/* oklch */ color: oklch(53.9% 0.240 309.1);
Tailwind
colors: {
  custom: {
    50: '#bb72e2',
    500: '#972cd4',
    950: '#000000',
  },
}
SCSS
$custom: #972cd4;
$custom-light: #bb72e2;
$custom-dark: #000000;
JSON
{
  "hex": "#972cd4",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 278.214,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.23954,
    "h": 309.1
  },
  "luminance": 0.13134
}

Semantic roles & 50–950 ramp

primary
#972CD4
secondary
#A4D388
accent
#E93F7D
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84

Preview Lab

Preview with #972CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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