#D18EEF#D18EEF

#D18EEF is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.8% C 0.152 H 314.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D18EEF
RGBrgb(209, 142, 239)
HSLhsl(281, 75%, 75%)
HSVhsv(281, 41%, 94%)
CMYKcmyk(12.6%, 40.6%, 0%, 6.3%)
CIE-LABlab(68.85, 42.02, -38.93)
CIE-LCHlch(68.85, 57.28, 317.18°)
OKLaboklab(74.85% 0.1068 -0.1075)
OKLCHoklch(74.85% 0.152 314.8)
XYZxyz(51.5450, 39.1345, 86.4830)
Luminance0.3913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18EEF #ACEF8E
analogous
#A08EEF #D18EEF #EF8EDD
triadic
#D18EEF #EFD18E #8EEFD1
tetradic
#D18EEF #EFA08E #ACEF8E #8EDDEF
square
#D18EEF #EFA08E #ACEF8E #8EDDEF
split-complementary
#D18EEF #DDEF8E #8EEFA0
monochromatic
#A523E0 #BB58E7 #D18EEF #E7C4F7 #F4E4FB

Accessibility & contrast

On white

2.38
#D18EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#D18EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18EEF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18EEF#FFFFFF#000000##000000
##D18EEF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F3
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#CF9BB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18eef;
/* rgb */ color: rgb(209, 142, 239);
/* oklch */ color: oklch(74.8% 0.152 314.8);
Tailwind
colors: {
  custom: {
    50: '#e0b0f4',
    500: '#d18eef',
    950: '#000000',
  },
}
SCSS
$custom: #d18eef;
$custom-light: #e0b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d18eef",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 281.443,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74848,
    "c": 0.15156,
    "h": 314.8
  },
  "luminance": 0.39133
}

Semantic roles & 50–950 ramp

primary
#D18EEF
secondary
#E0F3D8
accent
#D70E4C
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #D18EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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