#D17ECA#D17ECA

#D17ECA is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.141 H 330.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D17ECA
RGBrgb(209, 126, 202)
HSLhsl(305, 47%, 66%)
HSVhsv(305, 40%, 82%)
CMYKcmyk(0%, 39.7%, 3.3%, 18%)
CIE-LABlab(63.95, 43.38, -25.98)
CIE-LCHlch(63.95, 50.56, 329.08°)
OKLaboklab(70.67% 0.1222 -0.0705)
OKLCHoklch(70.67% 0.141 330)
XYZxyz(44.4154, 32.7435, 59.8463)
Luminance0.3274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17ECA #7ED185
analogous
#AE7ED1 #D17ECA #D17EA0
triadic
#D17ECA #CAD17E #7ECAD1
tetradic
#D17ECA #D1AE7E #7ED185 #7EA0D1
square
#D17ECA #D1AE7E #7ED185 #7EA0D1
split-complementary
#D17ECA #A0D17E #7ED1AE
monochromatic
#9D3894 #C151B7 #D17ECA #E1ABDD #F1D8EF

Accessibility & contrast

On white

2.78
#D17ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D17ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17ECA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17ECA#FFFFFF#000000##000000
##D17ECA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CD
Deuteranopia (green-blind)
#909FC7
Tritanopia (blue-blind)
#D7849B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17eca;
/* rgb */ color: rgb(209, 126, 202);
/* oklch */ color: oklch(70.7% 0.141 330.0);
Tailwind
colors: {
  custom: {
    50: '#e0a5da',
    500: '#d17eca',
    950: '#000000',
  },
}
SCSS
$custom: #d17eca;
$custom-light: #e0a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#d17eca",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 305.06,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.14104,
    "h": 330
  },
  "luminance": 0.32741
}

Semantic roles & 50–950 ramp

primary
#D17ECA
secondary
#C8E3CA
accent
#BB372B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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