#D17FCA#D17FCA

#D17FCA is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.8% C 0.139 H 330.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D17FCA
RGBrgb(209, 127, 202)
HSLhsl(305, 47%, 66%)
HSVhsv(305, 39%, 82%)
CMYKcmyk(0%, 39.2%, 3.3%, 18%)
CIE-LABlab(64.16, 42.85, -25.66)
CIE-LCHlch(64.16, 49.95, 329.09°)
OKLaboklab(70.83% 0.1207 -0.0696)
OKLCHoklch(70.83% 0.139 330)
XYZxyz(44.5439, 33.0005, 59.8891)
Luminance0.3300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FCA #7FD186
analogous
#AF7FD1 #D17FCA #D17FA1
triadic
#D17FCA #CAD17F #7FCAD1
tetradic
#D17FCA #D1AF7F #7FD186 #7FA1D1
square
#D17FCA #D1AF7F #7FD186 #7FA1D1
split-complementary
#D17FCA #A1D17F #7FD1AF
monochromatic
#9D3895 #C152B7 #D17FCA #E1ACDD #F1D9EF

Accessibility & contrast

On white

2.76
#D17FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D17FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FCA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FCA#FFFFFF#000000##000000
##D17FCA1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CD
Deuteranopia (green-blind)
#91A0C7
Tritanopia (blue-blind)
#D7859B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17fca;
/* rgb */ color: rgb(209, 127, 202);
/* oklch */ color: oklch(70.8% 0.139 330.0);
Tailwind
colors: {
  custom: {
    50: '#e0a6da',
    500: '#d17fca',
    950: '#000000',
  },
}
SCSS
$custom: #d17fca;
$custom-light: #e0a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fca",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 305.122,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7083,
    "c": 0.1393,
    "h": 330
  },
  "luminance": 0.32998
}

Semantic roles & 50–950 ramp

primary
#D17FCA
secondary
#C8E3CB
accent
#BA372B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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