#972CCD#972CCD

#972CCD is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.4% C 0.233 H 310.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#972CCD
RGBrgb(151, 44, 205)
HSLhsl(280, 65%, 49%)
HSVhsv(280, 79%, 80%)
CMYKcmyk(26.3%, 78.5%, 0%, 19.6%)
CIE-LABlab(42.44, 67.08, -62.21)
CIE-LCHlch(42.44, 91.48, 317.16°)
OKLaboklab(53.42% 0.1528 -0.1764)
OKLCHoklch(53.42% 0.233 310.9)
XYZxyz(24.6805, 12.7891, 58.9142)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CCD #62CD2C
analogous
#472CCD #972CCD #CD2CB3
triadic
#972CCD #CD972C #2CCD97
tetradic
#972CCD #CD472C #62CD2C #2CB3CD
square
#972CCD #CD472C #62CD2C #2CB3CD
split-complementary
#972CCD #B3CD2C #2CCD47
monochromatic
#4D1668 #72219B #972CCD #B05BDC #C88DE7

Accessibility & contrast

On white

5.90
#972CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#972CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CCD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CCD#FFFFFF#000000##FFFFFF
##972CCD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#90547D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #972ccd;
/* rgb */ color: rgb(151, 44, 205);
/* oklch */ color: oklch(53.4% 0.233 310.9);
Tailwind
colors: {
  custom: {
    50: '#bb72dd',
    500: '#972ccd',
    950: '#000000',
  },
}
SCSS
$custom: #972ccd;
$custom-light: #bb72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#972ccd",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 279.876,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.23337,
    "h": 310.9
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#972CCD
secondary
#9ED184
accent
#E84078
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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