#D975FC#D975FC

#D975FC is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.6% C 0.209 H 316.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D975FC
RGBrgb(217, 117, 252)
HSLhsl(284, 96%, 72%)
HSVhsv(284, 54%, 99%)
CMYKcmyk(13.9%, 53.6%, 0%, 1.2%)
CIE-LABlab(65.36, 59.67, -51.48)
CIE-LCHlch(65.36, 78.81, 319.21°)
OKLaboklab(72.65% 0.1518 -0.1435)
OKLCHoklch(72.65% 0.209 316.6)
XYZxyz(52.5447, 34.5043, 95.9687)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975FC #98FC75
analogous
#9575FC #D975FC #FC75DC
triadic
#D975FC #FCD975 #75FCD9
tetradic
#D975FC #FC9575 #98FC75 #75DCFC
square
#D975FC #FC9575 #98FC75 #75DCFC
split-complementary
#D975FC #DCFC75 #75FC95
monochromatic
#B405F1 #C939FB #D975FC #E9B1FD #F7E1FE

Accessibility & contrast

On white

2.66
#D975FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D975FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975FC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975FC#FFFFFF#000000##000000
##D975FC1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#77A2F8
Tritanopia (blue-blind)
#D88AAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d975fc;
/* rgb */ color: rgb(217, 117, 252);
/* oklch */ color: oklch(72.6% 0.209 316.6);
Tailwind
colors: {
  custom: {
    50: '#e7a0fe',
    500: '#d975fc',
    950: '#000000',
  },
}
SCSS
$custom: #d975fc;
$custom-light: #e7a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d975fc",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 252
  },
  "hsl": {
    "h": 284.444,
    "s": 95.745,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72648,
    "c": 0.20884,
    "h": 316.6
  },
  "luminance": 0.34503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D975FC

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

Preview Lab → · Contrast checker → · Palette generator →

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