#D18DCD#D18DCD

#D18DCD is a light, moderate purple. Relative luminance 0.370; OKLCH L 73.2% C 0.117 H 328.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D18DCD
RGBrgb(209, 141, 205)
HSLhsl(304, 43%, 69%)
HSVhsv(304, 33%, 82%)
CMYKcmyk(0%, 32.5%, 1.9%, 18%)
CIE-LABlab(67.29, 35.93, -22.55)
CIE-LCHlch(67.29, 42.42, 327.89°)
OKLaboklab(73.23% 0.1004 -0.061)
OKLCHoklch(73.23% 0.117 328.7)
XYZxyz(46.8380, 37.0147, 62.4231)
Luminance0.3701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DCD #8DD191
analogous
#B38DD1 #D18DCD #D18DAB
triadic
#D18DCD #CDD18D #8DCDD1
tetradic
#D18DCD #D1B38D #8DD191 #8DABD1
square
#D18DCD #D1B38D #8DD191 #8DABD1
split-complementary
#D18DCD #ABD18D #8DD1B3
monochromatic
#A2419C #BF61BA #D18DCD #E3B9E0 #F4E4F3

Accessibility & contrast

On white

2.50
#D18DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D18DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DCD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DCD#FFFFFF#000000##000000
##D18DCD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECF
Deuteranopia (green-blind)
#9AA7CB
Tritanopia (blue-blind)
#D692A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d18dcd;
/* rgb */ color: rgb(209, 141, 205);
/* oklch */ color: oklch(73.2% 0.117 328.7);
Tailwind
colors: {
  custom: {
    50: '#e0afdc',
    500: '#d18dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d18dcd;
$custom-light: #e0afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d18dcd",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 303.529,
    "s": 42.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73228,
    "c": 0.11747,
    "h": 328.7
  },
  "luminance": 0.37013
}

Semantic roles & 50–950 ramp

primary
#D18DCD
secondary
#D3E7D4
accent
#B63830
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D18DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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