#972DD0#972DD0

#972DD0 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.7% C 0.235 H 310.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#972DD0
RGBrgb(151, 45, 208)
HSLhsl(279, 64%, 50%)
HSVhsv(279, 78%, 82%)
CMYKcmyk(27.4%, 78.4%, 0%, 18.4%)
CIE-LABlab(42.78, 67.36, -63.40)
CIE-LCHlch(42.78, 92.50, 316.73°)
OKLaboklab(53.72% 0.1514 -0.1799)
OKLCHoklch(53.72% 0.235 310.1)
XYZxyz(25.0838, 13.0107, 60.8522)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DD0 #66D02D
analogous
#452DD0 #972DD0 #D02DB8
triadic
#972DD0 #D0972D #2DD097
tetradic
#972DD0 #D0452D #66D02D #2DB8D0
square
#972DD0 #D0452D #66D02D #2DB8D0
split-complementary
#972DD0 #B8D02D #2DD045
monochromatic
#4E176B #72229E #972DD0 #B05EDC #C990E7

Accessibility & contrast

On white

5.83
#972DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#972DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DD0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DD0#FFFFFF#000000##FFFFFF
##972DD01.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#8F567F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #972dd0;
/* rgb */ color: rgb(151, 45, 208);
/* oklch */ color: oklch(53.7% 0.235 310.1);
Tailwind
colors: {
  custom: {
    50: '#bb72df',
    500: '#972dd0',
    950: '#000000',
  },
}
SCSS
$custom: #972dd0;
$custom-light: #bb72df;
$custom-dark: #000000;
JSON
{
  "hex": "#972dd0",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 208
  },
  "hsl": {
    "h": 279.018,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.2351,
    "h": 310.1
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#972DD0
secondary
#A1D287
accent
#E7407B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #972DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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