#D976F0#D976F0

#D976F0 is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.2% C 0.195 H 319.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D976F0
RGBrgb(217, 118, 240)
HSLhsl(289, 80%, 70%)
HSVhsv(289, 51%, 94%)
CMYKcmyk(9.6%, 50.8%, 0%, 5.9%)
CIE-LABlab(64.96, 56.84, -45.50)
CIE-LCHlch(64.96, 72.81, 321.32°)
OKLaboklab(72.17% 0.1493 -0.1261)
OKLCHoklch(72.17% 0.195 319.8)
XYZxyz(50.8199, 34.0019, 86.3072)
Luminance0.3400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D976F0 #8DF076
analogous
#9C76F0 #D976F0 #F076CA
triadic
#D976F0 #F0D976 #76F0D9
tetradic
#D976F0 #F09C76 #8DF076 #76CAF0
square
#D976F0 #F09C76 #8DF076 #76CAF0
split-complementary
#D976F0 #CAF076 #76F09C
monochromatic
#B117D4 #CA3FEA #D976F0 #E8ADF6 #F7E3FC

Accessibility & contrast

On white

2.69
#D976F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#D976F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D976F0
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D976F0#FFFFFF#000000##000000
##D976F01.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F4
Deuteranopia (green-blind)
#7FA1ED
Tritanopia (blue-blind)
#DA87A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d976f0;
/* rgb */ color: rgb(217, 118, 240);
/* oklch */ color: oklch(72.2% 0.195 319.8);
Tailwind
colors: {
  custom: {
    50: '#e7a1f5',
    500: '#d976f0',
    950: '#000000',
  },
}
SCSS
$custom: #d976f0;
$custom-light: #e7a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d976f0",
  "rgb": {
    "r": 217,
    "g": 118,
    "b": 240
  },
  "hsl": {
    "h": 288.689,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.19545,
    "h": 319.8
  },
  "luminance": 0.34
}

Semantic roles & 50–950 ramp

primary
#D976F0
secondary
#D6F2D0
accent
#DD0931
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D976F0

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

Preview Lab → · Contrast checker → · Palette generator →

#D976F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva