#972FD2#972FD2

#972FD2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.0% C 0.235 H 309.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#972FD2
RGBrgb(151, 47, 210)
HSLhsl(278, 64%, 50%)
HSVhsv(278, 78%, 82%)
CMYKcmyk(28.1%, 77.6%, 0%, 17.6%)
CIE-LABlab(43.16, 67.09, -63.93)
CIE-LCHlch(43.16, 92.67, 316.38°)
OKLaboklab(54.04% 0.1493 -0.1815)
OKLCHoklch(54.04% 0.235 309.5)
XYZxyz(25.4095, 13.2660, 62.1823)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FD2 #6AD22F
analogous
#452FD2 #972FD2 #D22FBC
triadic
#972FD2 #D2972F #2FD297
tetradic
#972FD2 #D2452F #6AD22F #2FBCD2
square
#972FD2 #D2452F #6AD22F #2FBCD2
split-complementary
#972FD2 #BCD22F #2FD245
monochromatic
#4F186F #7323A1 #972FD2 #B061DD #C994E8

Accessibility & contrast

On white

5.75
#972FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#972FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FD2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FD2#FFFFFF#000000##FFFFFF
##972FD21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#8E5880
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #972fd2;
/* rgb */ color: rgb(151, 47, 210);
/* oklch */ color: oklch(54.0% 0.235 309.5);
Tailwind
colors: {
  custom: {
    50: '#bb73e1',
    500: '#972fd2',
    950: '#000000',
  },
}
SCSS
$custom: #972fd2;
$custom-light: #bb73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#972fd2",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 278.282,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.23503,
    "h": 309.5
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#972FD2
secondary
#A4D38A
accent
#E7407D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #972FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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