#D18BD2#D18BD2

#D18BD2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.1% C 0.126 H 326.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D18BD2
RGBrgb(209, 139, 210)
HSLhsl(299, 44%, 68%)
HSVhsv(299, 34%, 82%)
CMYKcmyk(0.5%, 33.8%, 0%, 17.6%)
CIE-LABlab(67.03, 37.93, -25.72)
CIE-LCHlch(67.03, 45.83, 325.86°)
OKLaboklab(73.1% 0.1047 -0.0699)
OKLCHoklch(73.1% 0.126 326.3)
XYZxyz(47.1589, 36.6755, 65.5552)
Luminance0.3667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18BD2 #8CD28B
analogous
#AD8BD2 #D18BD2 #D28BAF
triadic
#D18BD2 #D2D18B #8BD2D1
tetradic
#D18BD2 #D2AD8B #8CD28B #8BAFD2
square
#D18BD2 #D2AD8B #8CD28B #8BAFD2
split-complementary
#D18BD2 #AFD28B #8BD2AD
monochromatic
#A23FA3 #C05FC1 #D18BD2 #E2B7E3 #F4E3F4

Accessibility & contrast

On white

2.52
#D18BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#D18BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18BD2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18BD2#FFFFFF#000000##000000
##D18BD21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#869ED5
Deuteranopia (green-blind)
#97A6D0
Tritanopia (blue-blind)
#D592A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d18bd2;
/* rgb */ color: rgb(209, 139, 210);
/* oklch */ color: oklch(73.1% 0.126 326.3);
Tailwind
colors: {
  custom: {
    50: '#e0aee0',
    500: '#d18bd2',
    950: '#000000',
  },
}
SCSS
$custom: #d18bd2;
$custom-light: #e0aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#d18bd2",
  "rgb": {
    "r": 209,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 299.155,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73095,
    "c": 0.1259,
    "h": 326.3
  },
  "luminance": 0.36674
}

Semantic roles & 50–950 ramp

primary
#D18BD2
secondary
#D2E7D2
accent
#B72E30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D18BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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