#D18DCF#D18DCF

#D18DCF is a light, moderate purple. Relative luminance 0.371; OKLCH L 73.3% C 0.119 H 327.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#D18DCF
RGBrgb(209, 141, 207)
HSLhsl(302, 43%, 69%)
HSVhsv(302, 33%, 82%)
CMYKcmyk(0%, 32.5%, 1%, 18%)
CIE-LABlab(67.36, 36.30, -23.55)
CIE-LCHlch(67.36, 43.27, 327.03°)
OKLaboklab(73.31% 0.1009 -0.0638)
OKLCHoklch(73.31% 0.119 327.7)
XYZxyz(47.0809, 37.1119, 63.7027)
Luminance0.3711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DCF #8DD18F
analogous
#B18DD1 #D18DCF #D18DAD
triadic
#D18DCF #CFD18D #8DCFD1
tetradic
#D18DCF #D1B18D #8DD18F #8DADD1
square
#D18DCF #D1B18D #8DD18F #8DADD1
split-complementary
#D18DCF #ADD18D #8DD1B1
monochromatic
#A2419F #BF61BD #D18DCF #E3B9E1 #F4E4F4

Accessibility & contrast

On white

2.49
#D18DCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#D18DCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DCF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DCF#FFFFFF#000000##000000
##D18DCF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#899FD2
Deuteranopia (green-blind)
#9AA7CD
Tritanopia (blue-blind)
#D593A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d18dcf;
/* rgb */ color: rgb(209, 141, 207);
/* oklch */ color: oklch(73.3% 0.119 327.7);
Tailwind
colors: {
  custom: {
    50: '#e0afdd',
    500: '#d18dcf',
    950: '#000000',
  },
}
SCSS
$custom: #d18dcf;
$custom-light: #e0afdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d18dcf",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 207
  },
  "hsl": {
    "h": 301.765,
    "s": 42.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73307,
    "c": 0.11941,
    "h": 327.7
  },
  "luminance": 0.3711
}

Semantic roles & 50–950 ramp

primary
#D18DCF
secondary
#D3E7D3
accent
#B63430
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D18DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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