#D18ECD#D18ECD

#D18ECD is a light, moderate purple. Relative luminance 0.373; OKLCH L 73.4% C 0.116 H 328.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#D18ECD
RGBrgb(209, 142, 205)
HSLhsl(304, 42%, 69%)
HSVhsv(304, 32%, 82%)
CMYKcmyk(0%, 32.1%, 1.9%, 18%)
CIE-LABlab(67.51, 35.39, -22.21)
CIE-LCHlch(67.51, 41.78, 327.89°)
OKLaboklab(73.4% 0.0989 -0.06)
OKLCHoklch(73.4% 0.116 328.7)
XYZxyz(46.9861, 37.3109, 62.4725)
Luminance0.3731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18ECD #8ED192
analogous
#B48ED1 #D18ECD #D18EAC
triadic
#D18ECD #CDD18E #8ECDD1
tetradic
#D18ECD #D1B48E #8ED192 #8EACD1
square
#D18ECD #D1B48E #8ED192 #8EACD1
split-complementary
#D18ECD #ACD18E #8ED1B4
monochromatic
#A2429D #BF63BA #D18ECD #E3B9E0 #F4E5F3

Accessibility & contrast

On white

2.48
#D18ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#D18ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18ECD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18ECD#FFFFFF#000000##000000
##D18ECD1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCF
Deuteranopia (green-blind)
#9BA8CB
Tritanopia (blue-blind)
#D693A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d18ecd;
/* rgb */ color: rgb(209, 142, 205);
/* oklch */ color: oklch(73.4% 0.116 328.7);
Tailwind
colors: {
  custom: {
    50: '#e0b0dc',
    500: '#d18ecd',
    950: '#000000',
  },
}
SCSS
$custom: #d18ecd;
$custom-light: #e0b0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ecd",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 303.582,
    "s": 42.138,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73396,
    "c": 0.11569,
    "h": 328.7
  },
  "luminance": 0.37309
}

Semantic roles & 50–950 ramp

primary
#D18ECD
secondary
#D3E7D5
accent
#B53830
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #D18ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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