#D18DEC#D18DEC

#D18DEC is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.5% C 0.150 H 315.9°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#D18DEC
RGBrgb(209, 141, 236)
HSLhsl(283, 71%, 74%)
HSVhsv(283, 40%, 93%)
CMYKcmyk(11.4%, 40.3%, 0%, 7.5%)
CIE-LABlab(68.51, 41.94, -37.82)
CIE-LCHlch(68.51, 56.47, 317.96°)
OKLaboklab(74.55% 0.1077 -0.1043)
OKLCHoklch(74.55% 0.15 315.9)
XYZxyz(50.9574, 38.6625, 84.1189)
Luminance0.3866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DEC #A8EC8D
analogous
#A28DEC #D18DEC #EC8DD8
triadic
#D18DEC #ECD18D #8DECD1
tetradic
#D18DEC #ECA28D #A8EC8D #8DD8EC
square
#D18DEC #ECA28D #A8EC8D #8DD8EC
split-complementary
#D18DEC #D8EC8D #8DECA2
monochromatic
#A724DA #BC59E3 #D18DEC #E6C1F5 #F4E5FB

Accessibility & contrast

On white

2.40
#D18DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#D18DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DEC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DEC#FFFFFF#000000##000000
##D18DEC1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#D09AB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d18dec;
/* rgb */ color: rgb(209, 141, 236);
/* oklch */ color: oklch(74.5% 0.150 315.9);
Tailwind
colors: {
  custom: {
    50: '#e0aff2',
    500: '#d18dec',
    950: '#000000',
  },
}
SCSS
$custom: #d18dec;
$custom-light: #e0aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d18dec",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 282.947,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74548,
    "c": 0.14991,
    "h": 315.9
  },
  "luminance": 0.38661
}

Semantic roles & 50–950 ramp

primary
#D18DEC
secondary
#E0F2D9
accent
#D31249
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #D18DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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