#D18CD0#D18CD0

#D18CD0 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.2% C 0.122 H 327.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D18CD0
RGBrgb(209, 140, 208)
HSLhsl(301, 43%, 68%)
HSVhsv(301, 33%, 82%)
CMYKcmyk(0%, 33%, 0.5%, 18%)
CIE-LABlab(67.18, 37.02, -24.39)
CIE-LCHlch(67.18, 44.33, 326.63°)
OKLaboklab(73.18% 0.1027 -0.0661)
OKLCHoklch(73.18% 0.122 327.2)
XYZxyz(47.0568, 36.8674, 64.2997)
Luminance0.3687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18CD0 #8CD18D
analogous
#AF8CD1 #D18CD0 #D18CAD
triadic
#D18CD0 #D0D18C #8CD0D1
tetradic
#D18CD0 #D1AF8C #8CD18D #8CADD1
square
#D18CD0 #D1AF8C #8CD18D #8CADD1
split-complementary
#D18CD0 #ADD18C #8CD1AF
monochromatic
#A241A0 #C060BE #D18CD0 #E2B8E2 #F4E3F4

Accessibility & contrast

On white

2.51
#D18CD0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D18CD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18CD0
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18CD0#FFFFFF#000000##000000
##D18CD01.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#879ED3
Deuteranopia (green-blind)
#98A7CE
Tritanopia (blue-blind)
#D592A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d18cd0;
/* rgb */ color: rgb(209, 140, 208);
/* oklch */ color: oklch(73.2% 0.122 327.2);
Tailwind
colors: {
  custom: {
    50: '#e0aede',
    500: '#d18cd0',
    950: '#000000',
  },
}
SCSS
$custom: #d18cd0;
$custom-light: #e0aede;
$custom-dark: #000000;
JSON
{
  "hex": "#d18cd0",
  "rgb": {
    "r": 209,
    "g": 140,
    "b": 208
  },
  "hsl": {
    "h": 300.87,
    "s": 42.857,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7318,
    "c": 0.12217,
    "h": 327.2
  },
  "luminance": 0.36866
}

Semantic roles & 50–950 ramp

primary
#D18CD0
secondary
#D2E7D2
accent
#B63130
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D18CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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