#972ED0#972ED0

#972ED0 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.8% C 0.234 H 310.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#972ED0
RGBrgb(151, 46, 208)
HSLhsl(279, 64%, 50%)
HSVhsv(279, 78%, 82%)
CMYKcmyk(27.4%, 77.9%, 0%, 18.4%)
CIE-LABlab(42.90, 67.02, -63.21)
CIE-LCHlch(42.90, 92.13, 316.68°)
OKLaboklab(53.8% 0.1506 -0.1793)
OKLCHoklch(53.8% 0.234 310)
XYZxyz(25.1224, 13.0879, 60.8651)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972ED0 #67D02E
analogous
#462ED0 #972ED0 #D02EB8
triadic
#972ED0 #D0972E #2ED097
tetradic
#972ED0 #D0462E #67D02E #2EB8D0
square
#972ED0 #D0462E #67D02E #2EB8D0
split-complementary
#972ED0 #B8D02E #2ED046
monochromatic
#4E186C #73239E #972ED0 #B05FDC #C992E7

Accessibility & contrast

On white

5.81
#972ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#972ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972ED0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972ED0#FFFFFF#000000##FFFFFF
##972ED01.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972ed0;
/* rgb */ color: rgb(151, 46, 208);
/* oklch */ color: oklch(53.8% 0.234 310.0);
Tailwind
colors: {
  custom: {
    50: '#bb73df',
    500: '#972ed0',
    950: '#000000',
  },
}
SCSS
$custom: #972ed0;
$custom-light: #bb73df;
$custom-dark: #000000;
JSON
{
  "hex": "#972ed0",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 278.889,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.23417,
    "h": 310
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#972ED0
secondary
#A2D288
accent
#E7417B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #972ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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