#D975FE#D975FE

#D975FE is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.8% C 0.211 H 316.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D975FE
RGBrgb(217, 117, 254)
HSLhsl(284, 99%, 73%)
HSVhsv(284, 54%, 100%)
CMYKcmyk(14.6%, 53.9%, 0%, 0.4%)
CIE-LABlab(65.46, 60.06, -52.42)
CIE-LCHlch(65.46, 79.72, 318.89°)
OKLaboklab(72.75% 0.1519 -0.1462)
OKLCHoklch(72.75% 0.211 316.1)
XYZxyz(52.8632, 34.6318, 97.6467)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975FE #9AFE75
analogous
#9575FE #D975FE #FE75DE
triadic
#D975FE #FED975 #75FED9
tetradic
#D975FE #FE9575 #9AFE75 #75DEFE
square
#D975FE #FE9575 #9AFE75 #75DEFE
split-complementary
#D975FE #DEFE75 #75FE95
monochromatic
#B502F7 #C838FE #D975FE #EAB2FE #F7E1FF

Accessibility & contrast

On white

2.65
#D975FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D975FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975FE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975FE#FFFFFF#000000##000000
##D975FE1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#D78BAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d975fe;
/* rgb */ color: rgb(217, 117, 254);
/* oklch */ color: oklch(72.8% 0.211 316.1);
Tailwind
colors: {
  custom: {
    50: '#e7a0ff',
    500: '#d975fe',
    950: '#000000',
  },
}
SCSS
$custom: #d975fe;
$custom-light: #e7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d975fe",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 254
  },
  "hsl": {
    "h": 283.796,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.21083,
    "h": 316.1
  },
  "luminance": 0.3463
}

Semantic roles & 50–950 ramp

primary
#D975FE
secondary
#DDF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D975FE

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

Preview Lab → · Contrast checker → · Palette generator →

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