#972DCE#972DCE

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

Color values

HEX#972DCE
RGBrgb(151, 45, 206)
HSLhsl(280, 64%, 49%)
HSVhsv(280, 78%, 81%)
CMYKcmyk(26.7%, 78.2%, 0%, 19.2%)
CIE-LABlab(42.63, 66.95, -62.48)
CIE-LCHlch(42.63, 91.58, 316.98°)
OKLaboklab(53.57% 0.1518 -0.1772)
OKLCHoklch(53.57% 0.233 310.6)
XYZxyz(24.8393, 12.9129, 59.5645)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DCE #64CE2D
analogous
#472DCE #972DCE #CE2DB5
triadic
#972DCE #CE972D #2DCE97
tetradic
#972DCE #CE472D #64CE2D #2DB5CE
square
#972DCE #CE472D #64CE2D #2DB5CE
split-complementary
#972DCE #B5CE2D #2DCE47
monochromatic
#4D176A #72229C #972DCE #B05DDC #C98FE7

Accessibility & contrast

On white

5.86
#972DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#972DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DCE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DCE#FFFFFF#000000##FFFFFF
##972DCE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#8F557E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #972dce;
/* rgb */ color: rgb(151, 45, 206);
/* oklch */ color: oklch(53.6% 0.233 310.6);
Tailwind
colors: {
  custom: {
    50: '#bb72de',
    500: '#972dce',
    950: '#000000',
  },
}
SCSS
$custom: #972dce;
$custom-light: #bb72de;
$custom-dark: #000000;
JSON
{
  "hex": "#972dce",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 279.503,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.23333,
    "h": 310.6
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#972DCE
secondary
#A0D186
accent
#E7417A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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