#972FCE#972FCE

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

Color values

HEX#972FCE
RGBrgb(151, 47, 206)
HSLhsl(279, 63%, 50%)
HSVhsv(279, 77%, 81%)
CMYKcmyk(26.7%, 77.2%, 0%, 19.2%)
CIE-LABlab(42.87, 66.27, -62.10)
CIE-LCHlch(42.87, 90.82, 316.86°)
OKLaboklab(53.74% 0.1502 -0.1761)
OKLCHoklch(53.74% 0.231 310.5)
XYZxyz(24.9174, 13.0691, 59.5905)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FCE #66CE2F
analogous
#472FCE #972FCE #CE2FB6
triadic
#972FCE #CE972F #2FCE97
tetradic
#972FCE #CE472F #66CE2F #2FB6CE
square
#972FCE #CE472F #66CE2F #2FB6CE
split-complementary
#972FCE #B6CE2F #2FCE47
monochromatic
#4E186A #72249C #972FCE #B060DB #C991E6

Accessibility & contrast

On white

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

On black

3.61
#972FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##972FCE#FFFFFF#000000##FFFFFF
##972FCE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#8F567E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #972fce;
/* rgb */ color: rgb(151, 47, 206);
/* oklch */ color: oklch(53.7% 0.231 310.5);
Tailwind
colors: {
  custom: {
    50: '#bb73de',
    500: '#972fce',
    950: '#000000',
  },
}
SCSS
$custom: #972fce;
$custom-light: #bb73de;
$custom-dark: #000000;
JSON
{
  "hex": "#972fce",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 206
  },
  "hsl": {
    "h": 279.245,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53737,
    "c": 0.23144,
    "h": 310.5
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#972FCE
secondary
#A1D188
accent
#E6427B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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