#D17ECD#D17ECD

#D17ECD is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.8% C 0.144 H 328.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D17ECD
RGBrgb(209, 126, 205)
HSLhsl(303, 47%, 66%)
HSVhsv(303, 40%, 82%)
CMYKcmyk(0%, 39.7%, 1.9%, 18%)
CIE-LABlab(64.07, 43.92, -27.48)
CIE-LCHlch(64.07, 51.81, 327.96°)
OKLaboklab(70.8% 0.1229 -0.0747)
OKLCHoklch(70.8% 0.144 328.7)
XYZxyz(44.7741, 32.8869, 61.7352)
Luminance0.3288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17ECD #7ED182
analogous
#AB7ED1 #D17ECD #D17EA3
triadic
#D17ECD #CDD17E #7ECDD1
tetradic
#D17ECD #D1AB7E #7ED182 #7EA3D1
square
#D17ECD #D1AB7E #7ED182 #7EA3D1
split-complementary
#D17ECD #A3D17E #7ED1AB
monochromatic
#9D3898 #C151BC #D17ECD #E1ABDE #F1D8F0

Accessibility & contrast

On white

2.77
#D17ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D17ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17ECD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17ECD#FFFFFF#000000##000000
##D17ECD1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#8F9FCA
Tritanopia (blue-blind)
#D6859C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17ecd;
/* rgb */ color: rgb(209, 126, 205);
/* oklch */ color: oklch(70.8% 0.144 328.7);
Tailwind
colors: {
  custom: {
    50: '#e0a5dc',
    500: '#d17ecd',
    950: '#000000',
  },
}
SCSS
$custom: #d17ecd;
$custom-light: #e0a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ecd",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 302.892,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70799,
    "c": 0.14382,
    "h": 328.7
  },
  "luminance": 0.32885
}

Semantic roles & 50–950 ramp

primary
#D17ECD
secondary
#C8E3C9
accent
#BB322B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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