#D17ECB#D17ECB

#D17ECB is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.7% C 0.142 H 329.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D17ECB
RGBrgb(209, 126, 203)
HSLhsl(304, 47%, 66%)
HSVhsv(304, 40%, 82%)
CMYKcmyk(0%, 39.7%, 2.9%, 18%)
CIE-LABlab(63.99, 43.56, -26.48)
CIE-LCHlch(63.99, 50.98, 328.70°)
OKLaboklab(70.71% 0.1224 -0.0719)
OKLCHoklch(70.71% 0.142 329.6)
XYZxyz(44.5342, 32.7910, 60.4718)
Luminance0.3279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17ECB #7ED184
analogous
#AD7ED1 #D17ECB #D17EA1
triadic
#D17ECB #CBD17E #7ECBD1
tetradic
#D17ECB #D1AD7E #7ED184 #7EA1D1
square
#D17ECB #D1AD7E #7ED184 #7EA1D1
split-complementary
#D17ECB #A1D17E #7ED1AD
monochromatic
#9D3895 #C151B9 #D17ECB #E1ABDD #F1D8EF

Accessibility & contrast

On white

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

On black

7.56
#D17ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17ECB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17ECB#FFFFFF#000000##000000
##D17ECB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d17ecb;
/* rgb */ color: rgb(209, 126, 203);
/* oklch */ color: oklch(70.7% 0.142 329.6);
Tailwind
colors: {
  custom: {
    50: '#e0a5db',
    500: '#d17ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d17ecb;
$custom-light: #e0a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ecb",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 304.337,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70715,
    "c": 0.14197,
    "h": 329.6
  },
  "luminance": 0.32789
}

Semantic roles & 50–950 ramp

primary
#D17ECB
secondary
#C8E3CA
accent
#BB352B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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