#D18CD4#D18CD4

#D18CD4 is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.3% C 0.126 H 325.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#D18CD4
RGBrgb(209, 140, 212)
HSLhsl(298, 46%, 69%)
HSVhsv(298, 34%, 83%)
CMYKcmyk(1.4%, 34%, 0%, 16.9%)
CIE-LABlab(67.33, 37.77, -26.38)
CIE-LCHlch(67.33, 46.07, 325.07°)
OKLaboklab(73.34% 0.1038 -0.0717)
OKLCHoklch(73.34% 0.126 325.3)
XYZxyz(47.5551, 37.0667, 66.9242)
Luminance0.3706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18CD4 #8FD48C
analogous
#AD8CD4 #D18CD4 #D48CB3
triadic
#D18CD4 #D4D18C #8CD4D1
tetradic
#D18CD4 #D4AD8C #8FD48C #8CB3D4
square
#D18CD4 #D4AD8C #8FD48C #8CB3D4
split-complementary
#D18CD4 #B3D48C #8CD4AD
monochromatic
#A33EA7 #BF5FC3 #D18CD4 #E3B9E5 #F5E5F5

Accessibility & contrast

On white

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

On black

8.41
#D18CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18CD4
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18CD4#FFFFFF#000000##000000
##D18CD41.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#869FD7
Deuteranopia (green-blind)
#97A7D2
Tritanopia (blue-blind)
#D593A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d18cd4;
/* rgb */ color: rgb(209, 140, 212);
/* oklch */ color: oklch(73.3% 0.126 325.3);
Tailwind
colors: {
  custom: {
    50: '#e0aee1',
    500: '#d18cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d18cd4;
$custom-light: #e0aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#d18cd4",
  "rgb": {
    "r": 209,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 297.5,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73343,
    "c": 0.12614,
    "h": 325.3
  },
  "luminance": 0.37065
}

Semantic roles & 50–950 ramp

primary
#D18CD4
secondary
#D4E8D3
accent
#B92D33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D18CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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