#D17EDA#D17EDA

#D17EDA is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.156 H 323.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D17EDA
RGBrgb(209, 126, 218)
HSLhsl(294, 55%, 67%)
HSVhsv(294, 42%, 85%)
CMYKcmyk(4.1%, 42.2%, 0%, 14.5%)
CIE-LABlab(64.60, 46.32, -33.94)
CIE-LCHlch(64.60, 57.43, 323.77°)
OKLaboklab(71.37% 0.1256 -0.0931)
OKLCHoklch(71.37% 0.156 323.5)
XYZxyz(46.4090, 33.5409, 70.3455)
Luminance0.3354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EDA #87DA7E
analogous
#A37EDA #D17EDA #DA7EB5
triadic
#D17EDA #DAD17E #7EDAD1
tetradic
#D17EDA #DAA37E #87DA7E #7EB5DA
square
#D17EDA #DAA37E #87DA7E #7EB5DA
split-complementary
#D17EDA #B5DA7E #7EDAA3
monochromatic
#A031AC #C04ECC #D17EDA #E2AEE8 #F3DDF5

Accessibility & contrast

On white

2.72
#D17EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D17EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EDA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EDA#FFFFFF#000000##000000
##D17EDA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DD
Deuteranopia (green-blind)
#8AA0D7
Tritanopia (blue-blind)
#D488A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d17eda;
/* rgb */ color: rgb(209, 126, 218);
/* oklch */ color: oklch(71.4% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#e1a5e5',
    500: '#d17eda',
    950: '#000000',
  },
}
SCSS
$custom: #d17eda;
$custom-light: #e1a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d17eda",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 294.13,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71367,
    "c": 0.15637,
    "h": 323.5
  },
  "luminance": 0.33539
}

Semantic roles & 50–950 ramp

primary
#D17EDA
secondary
#CEE8CC
accent
#C32332
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D17EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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