#972CD0#972CD0

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

Color values

HEX#972CD0
RGBrgb(151, 44, 208)
HSLhsl(279, 65%, 49%)
HSVhsv(279, 79%, 82%)
CMYKcmyk(27.4%, 78.8%, 0%, 18.4%)
CIE-LABlab(42.67, 67.69, -63.58)
CIE-LCHlch(42.67, 92.87, 316.79°)
OKLaboklab(53.64% 0.1521 -0.1804)
OKLCHoklch(53.64% 0.236 310.1)
XYZxyz(25.0461, 12.9353, 60.8396)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CD0 #65D02C
analogous
#452CD0 #972CD0 #D02CB7
triadic
#972CD0 #D0972C #2CD097
tetradic
#972CD0 #D0452C #65D02C #2CB7D0
square
#972CD0 #D0452C #65D02C #2CB7D0
split-complementary
#972CD0 #B7D02C #2CD045
monochromatic
#4E176B #72219D #972CD0 #B05DDD #C98FE7

Accessibility & contrast

On white

5.85
#972CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#972CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CD0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CD0#FFFFFF#000000##FFFFFF
##972CD01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972cd0;
/* rgb */ color: rgb(151, 44, 208);
/* oklch */ color: oklch(53.6% 0.236 310.1);
Tailwind
colors: {
  custom: {
    50: '#bb72df',
    500: '#972cd0',
    950: '#000000',
  },
}
SCSS
$custom: #972cd0;
$custom-light: #bb72df;
$custom-dark: #000000;
JSON
{
  "hex": "#972cd0",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 208
  },
  "hsl": {
    "h": 279.146,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.23601,
    "h": 310.1
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#972CD0
secondary
#A0D286
accent
#E8407A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #972CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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