#D17FDF#D17FDF

#D17FDF is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.7% C 0.160 H 321.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D17FDF
RGBrgb(209, 127, 223)
HSLhsl(291, 60%, 69%)
HSVhsv(291, 43%, 87%)
CMYKcmyk(6.3%, 43%, 0%, 12.5%)
CIE-LABlab(65.01, 46.76, -36.07)
CIE-LCHlch(65.01, 59.06, 322.35°)
OKLaboklab(71.75% 0.1252 -0.0992)
OKLCHoklch(71.75% 0.16 321.6)
XYZxyz(47.2016, 34.0636, 73.8863)
Luminance0.3406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FDF #8DDF7F
analogous
#A17FDF #D17FDF #DF7FBD
triadic
#D17FDF #DFD17F #7FDFD1
tetradic
#D17FDF #DFA17F #8DDF7F #7FBDDF
square
#D17FDF #DFA17F #8DDF7F #7FBDDF
split-complementary
#D17FDF #BDDF7F #7FDFA1
monochromatic
#A22EB6 #BF4ED3 #D17FDF #E3B0EB #F4E1F7

Accessibility & contrast

On white

2.69
#D17FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#D17FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FDF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FDF#FFFFFF#000000##000000
##D17FDF1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7298E2
Deuteranopia (green-blind)
#89A1DC
Tritanopia (blue-blind)
#D38BA5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d17fdf;
/* rgb */ color: rgb(209, 127, 223);
/* oklch */ color: oklch(71.7% 0.160 321.6);
Tailwind
colors: {
  custom: {
    50: '#e1a6e9',
    500: '#d17fdf',
    950: '#000000',
  },
}
SCSS
$custom: #d17fdf;
$custom-light: #e1a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fdf",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 291.25,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71748,
    "c": 0.15971,
    "h": 321.6
  },
  "luminance": 0.34062
}

Semantic roles & 50–950 ramp

primary
#D17FDF
secondary
#D3EBCF
accent
#C81E37
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D17FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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