#D18AEE#D18AEE

#D18AEE is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.2% C 0.157 H 315.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#D18AEE
RGBrgb(209, 138, 238)
HSLhsl(283, 75%, 74%)
HSVhsv(283, 42%, 93%)
CMYKcmyk(12.2%, 42%, 0%, 6.7%)
CIE-LABlab(67.95, 43.94, -39.78)
CIE-LCHlch(67.95, 59.27, 317.85°)
OKLaboklab(74.16% 0.1123 -0.1099)
OKLCHoklch(74.16% 0.157 315.6)
XYZxyz(50.8132, 37.9066, 85.5123)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18AEE #A7EE8A
analogous
#9F8AEE #D18AEE #EE8AD9
triadic
#D18AEE #EED18A #8AEED1
tetradic
#D18AEE #EE9F8A #A7EE8A #8AD9EE
square
#D18AEE #EE9F8A #A7EE8A #8AD9EE
split-complementary
#D18AEE #D9EE8A #8AEE9F
monochromatic
#A720DD #BC55E6 #D18AEE #E6BFF6 #F4E4FB

Accessibility & contrast

On white

2.45
#D18AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#D18AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18AEE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18AEE#FFFFFF#000000##000000
##D18AEE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#D098B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d18aee;
/* rgb */ color: rgb(209, 138, 238);
/* oklch */ color: oklch(74.2% 0.157 315.6);
Tailwind
colors: {
  custom: {
    50: '#e0adf4',
    500: '#d18aee',
    950: '#000000',
  },
}
SCSS
$custom: #d18aee;
$custom-light: #e0adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d18aee",
  "rgb": {
    "r": 209,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 282.6,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7416,
    "c": 0.15715,
    "h": 315.6
  },
  "luminance": 0.37905
}

Semantic roles & 50–950 ramp

primary
#D18AEE
secondary
#E0F3D8
accent
#D70F49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D18AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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