#972BD3#972BD3

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

Color values

HEX#972BD3
RGBrgb(151, 43, 211)
HSLhsl(279, 66%, 50%)
HSVhsv(279, 80%, 83%)
CMYKcmyk(28.4%, 79.6%, 0%, 17.3%)
CIE-LABlab(42.78, 68.62, -65.13)
CIE-LCHlch(42.78, 94.61, 316.50°)
OKLaboklab(53.79% 0.1522 -0.185)
OKLCHoklch(53.79% 0.24 309.4)
XYZxyz(25.3819, 13.0107, 62.7896)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BD3 #67D32B
analogous
#432BD3 #972BD3 #D32BBB
triadic
#972BD3 #D3972B #2BD397
tetradic
#972BD3 #D3432B #67D32B #2BBBD3
square
#972BD3 #D3432B #67D32B #2BBBD3
split-complementary
#972BD3 #BBD32B #2BD343
monochromatic
#4E166D #7321A0 #972BD3 #B05DDE #C990E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972BD3#FFFFFF#000000##FFFFFF
##972BD31.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)
#0061D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#8E5780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #972bd3;
/* rgb */ color: rgb(151, 43, 211);
/* oklch */ color: oklch(53.8% 0.240 309.4);
Tailwind
colors: {
  custom: {
    50: '#bb72e1',
    500: '#972bd3',
    950: '#000000',
  },
}
SCSS
$custom: #972bd3;
$custom-light: #bb72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#972bd3",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 211
  },
  "hsl": {
    "h": 278.571,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.23954,
    "h": 309.4
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#972BD3
secondary
#A2D387
accent
#E93F7C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #972BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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