#D975F8#D975F8

#D975F8 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.4% C 0.205 H 317.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D975F8
RGBrgb(217, 117, 248)
HSLhsl(286, 90%, 72%)
HSVhsv(286, 53%, 97%)
CMYKcmyk(12.5%, 52.8%, 0%, 2.7%)
CIE-LABlab(65.16, 58.88, -49.60)
CIE-LCHlch(65.16, 76.98, 319.89°)
OKLaboklab(72.44% 0.1514 -0.138)
OKLCHoklch(72.44% 0.205 317.7)
XYZxyz(51.9175, 34.2535, 92.6655)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975F8 #94F875
analogous
#9875F8 #D975F8 #F875D5
triadic
#D975F8 #F8D975 #75F8D9
tetradic
#D975F8 #F89875 #94F875 #75D5F8
square
#D975F8 #F89875 #94F875 #75D5F8
split-complementary
#D975F8 #D5F875 #75F898
monochromatic
#B30CE7 #C93BF5 #D975F8 #E9AFFB #F7E2FE

Accessibility & contrast

On white

2.68
#D975F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D975F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975F8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975F8#FFFFFF#000000##000000
##D975F81.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#7AA1F5
Tritanopia (blue-blind)
#D889AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d975f8;
/* rgb */ color: rgb(217, 117, 248);
/* oklch */ color: oklch(72.4% 0.205 317.7);
Tailwind
colors: {
  custom: {
    50: '#e7a0fb',
    500: '#d975f8',
    950: '#000000',
  },
}
SCSS
$custom: #d975f8;
$custom-light: #e7a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d975f8",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 285.802,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72439,
    "c": 0.20488,
    "h": 317.7
  },
  "luminance": 0.34252
}

Semantic roles & 50–950 ramp

primary
#D975F8
secondary
#DCF5D4
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D975F8

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

Preview Lab → · Contrast checker → · Palette generator →

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