#972AE2#972AE2

#972AE2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.9% C 0.254 H 306.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#972AE2
RGBrgb(151, 42, 226)
HSLhsl(276, 76%, 53%)
HSVhsv(276, 81%, 89%)
CMYKcmyk(33.2%, 81.4%, 0%, 11.4%)
CIE-LABlab(43.84, 72.03, -71.99)
CIE-LCHlch(43.84, 101.84, 315.02°)
OKLaboklab(54.89% 0.149 -0.2051)
OKLCHoklch(54.89% 0.254 306)
XYZxyz(27.3149, 13.7265, 73.1472)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AE2 #75E22A
analogous
#3B2AE2 #972AE2 #E22AD1
triadic
#972AE2 #E2972A #2AE297
tetradic
#972AE2 #E23B2A #75E22A #2AD1E2
square
#972AE2 #E23B2A #75E22A #2AD1E2
split-complementary
#972AE2 #D1E22A #2AE23B
monochromatic
#531180 #7619B6 #972AE2 #B160E9 #CC96F1

Accessibility & contrast

On white

5.61
#972AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#972AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AE2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AE2#FFFFFF#000000##FFFFFF
##972AE21.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#895D89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #972ae2;
/* rgb */ color: rgb(151, 42, 226);
/* oklch */ color: oklch(54.9% 0.254 306.0);
Tailwind
colors: {
  custom: {
    50: '#bc72ec',
    500: '#972ae2',
    950: '#000000',
  },
}
SCSS
$custom: #972ae2;
$custom-light: #bc72ec;
$custom-dark: #000000;
JSON
{
  "hex": "#972ae2",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 226
  },
  "hsl": {
    "h": 275.543,
    "s": 76.033,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.25355,
    "h": 306
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

primary
#972AE2
secondary
#ADDC8C
accent
#F33582
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #972AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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