#D18CDC#D18CDC

#D18CDC is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.7% C 0.134 H 321.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#D18CDC
RGBrgb(209, 140, 220)
HSLhsl(292, 53%, 71%)
HSVhsv(292, 36%, 86%)
CMYKcmyk(5%, 36.4%, 0%, 13.7%)
CIE-LABlab(67.64, 39.30, -30.34)
CIE-LCHlch(67.64, 49.65, 322.33°)
OKLaboklab(73.68% 0.1057 -0.083)
OKLCHoklch(73.68% 0.134 321.9)
XYZxyz(48.5893, 37.4804, 72.3712)
Luminance0.3748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18CDC #97DC8C
analogous
#A98CDC #D18CDC #DC8CBF
triadic
#D18CDC #DCD18C #8CDCD1
tetradic
#D18CDC #DCA98C #97DC8C #8CBFDC
square
#D18CDC #DCA98C #97DC8C #8CBFDC
split-complementary
#D18CDC #BFDC8C #8CDCA9
monochromatic
#A537B6 #BE5DCE #D18CDC #E4BBEA #F6E8F8

Accessibility & contrast

On white

2.47
#D18CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#D18CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18CDC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18CDC#FFFFFF#000000##000000
##D18CDC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0DF
Deuteranopia (green-blind)
#94A7D9
Tritanopia (blue-blind)
#D395AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d18cdc;
/* rgb */ color: rgb(209, 140, 220);
/* oklch */ color: oklch(73.7% 0.134 321.9);
Tailwind
colors: {
  custom: {
    50: '#e0afe7',
    500: '#d18cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d18cdc;
$custom-light: #e0afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d18cdc",
  "rgb": {
    "r": 209,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 291.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73678,
    "c": 0.13436,
    "h": 321.9
  },
  "luminance": 0.37479
}

Semantic roles & 50–950 ramp

primary
#D18CDC
secondary
#DAEDD7
accent
#C1253A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D18CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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