#D18DEE#D18DEE

#D18DEE is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.6% C 0.152 H 315.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#D18DEE
RGBrgb(209, 141, 238)
HSLhsl(282, 74%, 74%)
HSVhsv(282, 41%, 93%)
CMYKcmyk(12.2%, 40.8%, 0%, 6.7%)
CIE-LABlab(68.59, 42.35, -38.78)
CIE-LCHlch(68.59, 57.42, 317.52°)
OKLaboklab(74.64% 0.1081 -0.1071)
OKLCHoklch(74.64% 0.152 315.3)
XYZxyz(51.2496, 38.7793, 85.6578)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DEE #AAEE8D
analogous
#A18DEE #D18DEE #EE8DDB
triadic
#D18DEE #EED18D #8DEED1
tetradic
#D18DEE #EEA18D #AAEE8D #8DDBEE
square
#D18DEE #EEA18D #AAEE8D #8DDBEE
split-complementary
#D18DEE #DBEE8D #8DEEA1
monochromatic
#A622DE #BC58E6 #D18DEE #E6C2F6 #F4E4FB

Accessibility & contrast

On white

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

On black

8.76
#D18DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DEE
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DEE#FFFFFF#000000##000000
##D18DEE1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#8EA9EB
Tritanopia (blue-blind)
#CF9AB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d18dee;
/* rgb */ color: rgb(209, 141, 238);
/* oklch */ color: oklch(74.6% 0.152 315.3);
Tailwind
colors: {
  custom: {
    50: '#e0aff4',
    500: '#d18dee',
    950: '#000000',
  },
}
SCSS
$custom: #d18dee;
$custom-light: #e0aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d18dee",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 282.062,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7464,
    "c": 0.15213,
    "h": 315.3
  },
  "luminance": 0.38778
}

Semantic roles & 50–950 ramp

primary
#D18DEE
secondary
#E0F3D8
accent
#D60F4B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #D18DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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