#D18BEE#D18BEE

#D18BEE is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.3% C 0.155 H 315.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#D18BEE
RGBrgb(209, 139, 238)
HSLhsl(282, 74%, 74%)
HSVhsv(282, 42%, 93%)
CMYKcmyk(12.2%, 41.6%, 0%, 6.7%)
CIE-LABlab(68.16, 43.41, -39.45)
CIE-LCHlch(68.16, 58.66, 317.74°)
OKLaboklab(74.32% 0.1109 -0.109)
OKLCHoklch(74.32% 0.155 315.5)
XYZxyz(50.9574, 38.1949, 85.5604)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18BEE #A8EE8B
analogous
#A08BEE #D18BEE #EE8BDA
triadic
#D18BEE #EED18B #8BEED1
tetradic
#D18BEE #EEA08B #A8EE8B #8BDAEE
square
#D18BEE #EEA08B #A8EE8B #8BDAEE
split-complementary
#D18BEE #DAEE8B #8BEEA0
monochromatic
#A721DE #BC56E6 #D18BEE #E6C0F6 #F4E4FB

Accessibility & contrast

On white

2.43
#D18BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#D18BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18BEE
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18BEE#FFFFFF#000000##000000
##D18BEE1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#D099B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d18bee;
/* rgb */ color: rgb(209, 139, 238);
/* oklch */ color: oklch(74.3% 0.155 315.5);
Tailwind
colors: {
  custom: {
    50: '#e0aef4',
    500: '#d18bee',
    950: '#000000',
  },
}
SCSS
$custom: #d18bee;
$custom-light: #e0aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#d18bee",
  "rgb": {
    "r": 209,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 282.424,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74319,
    "c": 0.15548,
    "h": 315.5
  },
  "luminance": 0.38194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D18BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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