#D18CD2#D18CD2

#D18CD2 is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.3% C 0.124 H 326.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#D18CD2
RGBrgb(209, 140, 210)
HSLhsl(299, 44%, 69%)
HSVhsv(299, 33%, 82%)
CMYKcmyk(0.5%, 33.3%, 0%, 17.6%)
CIE-LABlab(67.25, 37.40, -25.38)
CIE-LCHlch(67.25, 45.20, 325.83°)
OKLaboklab(73.26% 0.1032 -0.0689)
OKLCHoklch(73.26% 0.124 326.3)
XYZxyz(47.3044, 36.9664, 65.6037)
Luminance0.3696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18CD2 #8DD28C
analogous
#AE8CD2 #D18CD2 #D28CB0
triadic
#D18CD2 #D2D18C #8CD2D1
tetradic
#D18CD2 #D2AE8C #8DD28C #8CB0D2
square
#D18CD2 #D2AE8C #8DD28C #8CB0D2
split-complementary
#D18CD2 #B0D28C #8CD2AE
monochromatic
#A240A4 #BF60C1 #D18CD2 #E3B8E3 #F4E4F4

Accessibility & contrast

On white

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

On black

8.39
#D18CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18CD2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18CD2#FFFFFF#000000##000000
##D18CD21.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#879ED5
Deuteranopia (green-blind)
#98A7D0
Tritanopia (blue-blind)
#D592A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d18cd2;
/* rgb */ color: rgb(209, 140, 210);
/* oklch */ color: oklch(73.3% 0.124 326.3);
Tailwind
colors: {
  custom: {
    50: '#e0aee0',
    500: '#d18cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d18cd2;
$custom-light: #e0aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#d18cd2",
  "rgb": {
    "r": 209,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 299.143,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73261,
    "c": 0.12414,
    "h": 326.3
  },
  "luminance": 0.36965
}

Semantic roles & 50–950 ramp

primary
#D18CD2
secondary
#D3E7D2
accent
#B72F31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D18CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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