#D18BEC#D18BEC

#D18BEC is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.2% C 0.153 H 316.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#D18BEC
RGBrgb(209, 139, 236)
HSLhsl(283, 72%, 74%)
HSVhsv(283, 41%, 93%)
CMYKcmyk(11.4%, 41.1%, 0%, 7.5%)
CIE-LABlab(68.08, 43.00, -38.48)
CIE-LCHlch(68.08, 57.71, 318.18°)
OKLaboklab(74.23% 0.1105 -0.1062)
OKLCHoklch(74.23% 0.153 316.1)
XYZxyz(50.6652, 38.0780, 84.0215)
Luminance0.3808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18BEC #A6EC8B
analogous
#A08BEC #D18BEC #EC8BD6
triadic
#D18BEC #ECD18B #8BECD1
tetradic
#D18BEC #ECA08B #A6EC8B #8BD6EC
square
#D18BEC #ECA08B #A6EC8B #8BD6EC
split-complementary
#D18BEC #D6EC8B #8BECA0
monochromatic
#A724D9 #BC56E3 #D18BEC #E6C0F5 #F5E5FB

Accessibility & contrast

On white

2.44
#D18BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#D18BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18BEC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18BEC#FFFFFF#000000##000000
##D18BEC1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#D098B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d18bec;
/* rgb */ color: rgb(209, 139, 236);
/* oklch */ color: oklch(74.2% 0.153 316.1);
Tailwind
colors: {
  custom: {
    50: '#e0aef2',
    500: '#d18bec',
    950: '#000000',
  },
}
SCSS
$custom: #d18bec;
$custom-light: #e0aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d18bec",
  "rgb": {
    "r": 209,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 283.299,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74227,
    "c": 0.15328,
    "h": 316.1
  },
  "luminance": 0.38077
}

Semantic roles & 50–950 ramp

primary
#D18BEC
secondary
#E0F2D9
accent
#D41248
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D18BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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