#D18DF2#D18DF2

#D18DF2 is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.8% C 0.157 H 314.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#D18DF2
RGBrgb(209, 141, 242)
HSLhsl(280, 80%, 75%)
HSVhsv(280, 42%, 95%)
CMYKcmyk(13.6%, 41.7%, 0%, 5.1%)
CIE-LABlab(68.76, 43.17, -40.71)
CIE-LCHlch(68.76, 59.33, 316.68°)
OKLaboklab(74.83% 0.1088 -0.1126)
OKLCHoklch(74.83% 0.157 314)
XYZxyz(51.8438, 39.0170, 88.7872)
Luminance0.3902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DF2 #AEF28D
analogous
#9E8DF2 #D18DF2 #F28DE1
triadic
#D18DF2 #F2D18D #8DF2D1
tetradic
#D18DF2 #F29E8D #AEF28D #8DE1F2
square
#D18DF2 #F29E8D #AEF28D #8DE1F2
split-complementary
#D18DF2 #E1F28D #8DF29E
monochromatic
#A51FE5 #BB56EC #D18DF2 #E7C4F8 #F4E4FC

Accessibility & contrast

On white

2.39
#D18DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#D18DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DF2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DF2#FFFFFF#000000##000000
##D18DF21.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#CF9BB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18df2;
/* rgb */ color: rgb(209, 141, 242);
/* oklch */ color: oklch(74.8% 0.157 314.0);
Tailwind
colors: {
  custom: {
    50: '#e0aff6',
    500: '#d18df2',
    950: '#000000',
  },
}
SCSS
$custom: #d18df2;
$custom-light: #e0aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#d18df2",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 280.396,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74826,
    "c": 0.15658,
    "h": 314
  },
  "luminance": 0.39016
}

Semantic roles & 50–950 ramp

primary
#D18DF2
secondary
#E1F4D7
accent
#DC0A4E
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #D18DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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