#D975CC#D975CC

#D975CC is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.164 H 332.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D975CC
RGBrgb(217, 117, 204)
HSLhsl(308, 57%, 65%)
HSVhsv(308, 46%, 85%)
CMYKcmyk(0%, 46.1%, 6%, 14.9%)
CIE-LABlab(63.21, 50.80, -28.17)
CIE-LCHlch(63.21, 58.08, 330.99°)
OKLaboklab(70.35% 0.1448 -0.0765)
OKLCHoklch(70.35% 0.164 332.2)
XYZxyz(45.8754, 31.8366, 60.8438)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975CC #75D982
analogous
#B475D9 #D975CC #D9759A
triadic
#D975CC #CCD975 #75CCD9
tetradic
#D975CC #D9B475 #75D982 #759AD9
square
#D975CC #D9B475 #75D982 #759AD9
split-complementary
#D975CC #9AD975 #75D9B4
monochromatic
#A62E96 #CC45BA #D975CC #E6A5DE #F3D5EF

Accessibility & contrast

On white

2.85
#D975CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D975CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975CC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975CC#FFFFFF#000000##000000
##D975CC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#8E9EC9
Tritanopia (blue-blind)
#E17C97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d975cc;
/* rgb */ color: rgb(217, 117, 204);
/* oklch */ color: oklch(70.4% 0.164 332.2);
Tailwind
colors: {
  custom: {
    50: '#e7a0db',
    500: '#d975cc',
    950: '#000000',
  },
}
SCSS
$custom: #d975cc;
$custom-light: #e7a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#d975cc",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 307.8,
    "s": 56.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.16377,
    "h": 332.2
  },
  "luminance": 0.31834
}

Semantic roles & 50–950 ramp

primary
#D975CC
secondary
#C4E6C9
accent
#C43621
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D975CC

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

Preview Lab → · Contrast checker → · Palette generator →

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