#972FCF#972FCF

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

Color values

HEX#972FCF
RGBrgb(151, 47, 207)
HSLhsl(279, 63%, 50%)
HSVhsv(279, 77%, 81%)
CMYKcmyk(27.1%, 77.3%, 0%, 18.8%)
CIE-LABlab(42.94, 66.47, -62.56)
CIE-LCHlch(42.94, 91.28, 316.74°)
OKLaboklab(53.81% 0.15 -0.1774)
OKLCHoklch(53.81% 0.232 310.2)
XYZxyz(25.0393, 13.1179, 60.2324)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FCF #67CF2F
analogous
#472FCF #972FCF #CF2FB7
triadic
#972FCF #CF972F #2FCF97
tetradic
#972FCF #CF472F #67CF2F #2FB7CF
square
#972FCF #CF472F #67CF2F #2FB7CF
split-complementary
#972FCF #B7CF2F #2FCF47
monochromatic
#4E186B #73249D #972FCF #B060DB #C992E6

Accessibility & contrast

On white

5.80
#972FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972FCF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FCF#FFFFFF#000000##FFFFFF
##972FCF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972fcf;
/* rgb */ color: rgb(151, 47, 207);
/* oklch */ color: oklch(53.8% 0.232 310.2);
Tailwind
colors: {
  custom: {
    50: '#bb73df',
    500: '#972fcf',
    950: '#000000',
  },
}
SCSS
$custom: #972fcf;
$custom-light: #bb73df;
$custom-dark: #000000;
JSON
{
  "hex": "#972fcf",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 207
  },
  "hsl": {
    "h": 279,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.23233,
    "h": 310.2
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #972FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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