#D17FDD#D17FDD

#D17FDD is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.7% C 0.158 H 322.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D17FDD
RGBrgb(209, 127, 221)
HSLhsl(292, 58%, 68%)
HSVhsv(292, 43%, 87%)
CMYKcmyk(5.4%, 42.5%, 0%, 13.3%)
CIE-LABlab(64.93, 46.37, -35.09)
CIE-LCHlch(64.93, 58.16, 322.88°)
OKLaboklab(71.66% 0.1248 -0.0964)
OKLCHoklch(71.66% 0.158 322.3)
XYZxyz(46.9336, 33.9563, 72.4746)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FDD #8BDD7F
analogous
#A27FDD #D17FDD #DD7FBA
triadic
#D17FDD #DDD17F #7FDDD1
tetradic
#D17FDD #DDA27F #8BDD7F #7FBADD
square
#D17FDD #DDA27F #8BDD7F #7FBADD
split-complementary
#D17FDD #BADD7F #7FDDA2
monochromatic
#A22FB2 #C04FD0 #D17FDD #E2AFEA #F4E0F7

Accessibility & contrast

On white

2.70
#D17FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D17FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FDD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FDD#FFFFFF#000000##000000
##D17FDD1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397E0
Deuteranopia (green-blind)
#89A1DA
Tritanopia (blue-blind)
#D48AA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d17fdd;
/* rgb */ color: rgb(209, 127, 221);
/* oklch */ color: oklch(71.7% 0.158 322.3);
Tailwind
colors: {
  custom: {
    50: '#e1a6e8',
    500: '#d17fdd',
    950: '#000000',
  },
}
SCSS
$custom: #d17fdd;
$custom-light: #e1a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fdd",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 292.34,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71656,
    "c": 0.15769,
    "h": 322.3
  },
  "luminance": 0.33955
}

Semantic roles & 50–950 ramp

primary
#D17FDD
secondary
#D1EACE
accent
#C62035
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D17FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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