#D17EDD#D17EDD

#D17EDD is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.159 H 322.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D17EDD
RGBrgb(209, 126, 221)
HSLhsl(292, 58%, 68%)
HSVhsv(292, 43%, 87%)
CMYKcmyk(5.4%, 43%, 0%, 13.3%)
CIE-LABlab(64.72, 46.90, -35.41)
CIE-LCHlch(64.72, 58.76, 322.94°)
OKLaboklab(71.5% 0.1262 -0.0973)
OKLCHoklch(71.5% 0.159 322.4)
XYZxyz(46.8051, 33.6993, 72.4317)
Luminance0.3370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EDD #8ADD7E
analogous
#A17EDD #D17EDD #DD7EB9
triadic
#D17EDD #DDD17E #7EDDD1
tetradic
#D17EDD #DDA17E #8ADD7E #7EB9DD
square
#D17EDD #DDA17E #8ADD7E #7EB9DD
split-complementary
#D17EDD #B9DD7E #7EDDA1
monochromatic
#A12FB2 #C04ED0 #D17EDD #E2AEEA #F4DFF7

Accessibility & contrast

On white

2.71
#D17EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D17EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EDD
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EDD#FFFFFF#000000##000000
##D17EDD1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E0
Deuteranopia (green-blind)
#89A0DA
Tritanopia (blue-blind)
#D489A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d17edd;
/* rgb */ color: rgb(209, 126, 221);
/* oklch */ color: oklch(71.5% 0.159 322.4);
Tailwind
colors: {
  custom: {
    50: '#e1a5e8',
    500: '#d17edd',
    950: '#000000',
  },
}
SCSS
$custom: #d17edd;
$custom-light: #e1a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d17edd",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 292.421,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71503,
    "c": 0.15938,
    "h": 322.4
  },
  "luminance": 0.33697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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