#D975F7#D975F7

#D975F7 is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.4% C 0.204 H 317.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D975F7
RGBrgb(217, 117, 247)
HSLhsl(286, 89%, 71%)
HSVhsv(286, 53%, 97%)
CMYKcmyk(12.1%, 52.6%, 0%, 3.1%)
CIE-LABlab(65.11, 58.68, -49.12)
CIE-LCHlch(65.11, 76.53, 320.07°)
OKLaboklab(72.39% 0.1513 -0.1366)
OKLCHoklch(72.39% 0.204 317.9)
XYZxyz(51.7627, 34.1916, 91.8506)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975F7 #93F775
analogous
#9875F7 #D975F7 #F775D4
triadic
#D975F7 #F7D975 #75F7D9
tetradic
#D975F7 #F79875 #93F775 #75D4F7
square
#D975F7 #F79875 #93F775 #75D4F7
split-complementary
#D975F7 #D4F775 #75F798
monochromatic
#B30DE4 #C93BF4 #D975F7 #E9AFFA #F7E2FD

Accessibility & contrast

On white

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

On black

7.84
#D975F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975F7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975F7#FFFFFF#000000##000000
##D975F71.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#7AA1F4
Tritanopia (blue-blind)
#D989AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d975f7;
/* rgb */ color: rgb(217, 117, 247);
/* oklch */ color: oklch(72.4% 0.204 317.9);
Tailwind
colors: {
  custom: {
    50: '#e7a0fa',
    500: '#d975f7',
    950: '#000000',
  },
}
SCSS
$custom: #d975f7;
$custom-light: #e7a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d975f7",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 286.154,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72387,
    "c": 0.20388,
    "h": 317.9
  },
  "luminance": 0.3419
}

Semantic roles & 50–950 ramp

primary
#D975F7
secondary
#DBF5D3
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D975F7

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

Preview Lab → · Contrast checker → · Palette generator →

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