#D18FEE#D18FEE

#D18FEE is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.0% C 0.149 H 315.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D18FEE
RGBrgb(209, 143, 238)
HSLhsl(282, 74%, 75%)
HSVhsv(282, 40%, 93%)
CMYKcmyk(12.2%, 39.9%, 0%, 6.7%)
CIE-LABlab(69.02, 41.28, -38.11)
CIE-LCHlch(69.02, 56.18, 317.28°)
OKLaboklab(74.96% 0.1052 -0.1052)
OKLCHoklch(74.96% 0.149 315)
XYZxyz(51.5472, 39.3745, 85.7570)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18FEE #ACEE8F
analogous
#A28FEE #D18FEE #EE8FDC
triadic
#D18FEE #EED18F #8FEED1
tetradic
#D18FEE #EEA28F #ACEE8F #8FDCEE
square
#D18FEE #EEA28F #ACEE8F #8FDCEE
split-complementary
#D18FEE #DCEE8F #8FEEA2
monochromatic
#A525DE #BB5AE6 #D18FEE #E7C4F6 #F4E4FB

Accessibility & contrast

On white

2.37
#D18FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#D18FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18FEE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18FEE#FFFFFF#000000##000000
##D18FEE1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F1
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#CF9CB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18fee;
/* rgb */ color: rgb(209, 143, 238);
/* oklch */ color: oklch(75.0% 0.149 315.0);
Tailwind
colors: {
  custom: {
    50: '#e0b1f4',
    500: '#d18fee',
    950: '#000000',
  },
}
SCSS
$custom: #d18fee;
$custom-light: #e0b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d18fee",
  "rgb": {
    "r": 209,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 281.684,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74964,
    "c": 0.14876,
    "h": 315
  },
  "luminance": 0.39373
}

Semantic roles & 50–950 ramp

primary
#D18FEE
secondary
#E0F3D8
accent
#D6104C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D18FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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