#D18DEB#D18DEB

#D18DEB is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.5% C 0.149 H 316.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D18DEB
RGBrgb(209, 141, 235)
HSLhsl(283, 70%, 74%)
HSVhsv(283, 40%, 92%)
CMYKcmyk(11.1%, 40%, 0%, 7.8%)
CIE-LABlab(68.46, 41.73, -37.33)
CIE-LCHlch(68.46, 55.99, 318.19°)
OKLaboklab(74.5% 0.1075 -0.1029)
OKLCHoklch(74.5% 0.149 316.2)
XYZxyz(50.8125, 38.6045, 83.3559)
Luminance0.3860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DEB #A7EB8D
analogous
#A28DEB #D18DEB #EB8DD6
triadic
#D18DEB #EBD18D #8DEBD1
tetradic
#D18DEB #EBA28D #A7EB8D #8DD6EB
square
#D18DEB #EBA28D #A7EB8D #8DD6EB
split-complementary
#D18DEB #D6EB8D #8DEBA2
monochromatic
#A726D8 #BC59E2 #D18DEB #E6C1F4 #F4E5FA

Accessibility & contrast

On white

2.41
#D18DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#D18DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DEB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DEB#FFFFFF#000000##000000
##D18DEB1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#D099B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d18deb;
/* rgb */ color: rgb(209, 141, 235);
/* oklch */ color: oklch(74.5% 0.149 316.2);
Tailwind
colors: {
  custom: {
    50: '#e0aff1',
    500: '#d18deb',
    950: '#000000',
  },
}
SCSS
$custom: #d18deb;
$custom-light: #e0aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d18deb",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 283.404,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74503,
    "c": 0.14881,
    "h": 316.2
  },
  "luminance": 0.38603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D18DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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