#D18DC8#D18DC8

#D18DC8 is a light, moderate purple. Relative luminance 0.368; OKLCH L 73.0% C 0.113 H 331.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D18DC8
RGBrgb(209, 141, 200)
HSLhsl(308, 43%, 69%)
HSVhsv(308, 33%, 82%)
CMYKcmyk(0%, 32.5%, 4.3%, 18%)
CIE-LABlab(67.11, 35.03, -20.03)
CIE-LCHlch(67.11, 40.35, 330.23°)
OKLaboklab(73.03% 0.099 -0.0539)
OKLCHoklch(73.03% 0.113 331.4)
XYZxyz(46.2440, 36.7771, 59.2952)
Luminance0.3678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DC8 #8DD196
analogous
#B88DD1 #D18DC8 #D18DA6
triadic
#D18DC8 #C8D18D #8DC8D1
tetradic
#D18DC8 #D1B88D #8DD196 #8DA6D1
square
#D18DC8 #D1B88D #8DD196 #8DA6D1
split-complementary
#D18DC8 #A6D18D #8DD1B8
monochromatic
#A24195 #BF61B3 #D18DC8 #E3B9DD #F4E4F2

Accessibility & contrast

On white

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

On black

8.36
#D18DC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DC8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DC8#FFFFFF#000000##000000
##D18DC81.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECA
Deuteranopia (green-blind)
#9CA7C6
Tritanopia (blue-blind)
#D791A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d18dc8;
/* rgb */ color: rgb(209, 141, 200);
/* oklch */ color: oklch(73.0% 0.113 331.4);
Tailwind
colors: {
  custom: {
    50: '#e0afd8',
    500: '#d18dc8',
    950: '#000000',
  },
}
SCSS
$custom: #d18dc8;
$custom-light: #e0afd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d18dc8",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 200
  },
  "hsl": {
    "h": 307.941,
    "s": 42.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73033,
    "c": 0.11275,
    "h": 331.4
  },
  "luminance": 0.36775
}

Semantic roles & 50–950 ramp

primary
#D18DC8
secondary
#D3E7D5
accent
#B64230
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #D18DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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