#D17ECF#D17ECF

#D17ECF is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.9% C 0.146 H 327.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D17ECF
RGBrgb(209, 126, 207)
HSLhsl(301, 47%, 66%)
HSVhsv(301, 40%, 82%)
CMYKcmyk(0%, 39.7%, 1%, 18%)
CIE-LABlab(64.15, 44.28, -28.48)
CIE-LCHlch(64.15, 52.65, 327.25°)
OKLaboklab(70.88% 0.1233 -0.0776)
OKLCHoklch(70.88% 0.146 327.8)
XYZxyz(45.0170, 32.9841, 63.0147)
Luminance0.3298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17ECF #7ED180
analogous
#A97ED1 #D17ECF #D17EA5
triadic
#D17ECF #CFD17E #7ECFD1
tetradic
#D17ECF #D1A97E #7ED180 #7EA5D1
square
#D17ECF #D1A97E #7ED180 #7EA5D1
split-complementary
#D17ECF #A5D17E #7ED1A9
monochromatic
#9D389A #C151BE #D17ECF #E1ABE0 #F1D8F1

Accessibility & contrast

On white

2.76
#D17ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D17ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17ECF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17ECF#FFFFFF#000000##000000
##D17ECF1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D2
Deuteranopia (green-blind)
#8E9FCC
Tritanopia (blue-blind)
#D6859D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17ecf;
/* rgb */ color: rgb(209, 126, 207);
/* oklch */ color: oklch(70.9% 0.146 327.8);
Tailwind
colors: {
  custom: {
    50: '#e0a5de',
    500: '#d17ecf',
    950: '#000000',
  },
}
SCSS
$custom: #d17ecf;
$custom-light: #e0a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ecf",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 301.446,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70884,
    "c": 0.1457,
    "h": 327.8
  },
  "luminance": 0.32982
}

Semantic roles & 50–950 ramp

primary
#D17ECF
secondary
#C8E3C8
accent
#BB2E2B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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