#D18DF8#D18DF8

#D18DF8 is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.1% C 0.163 H 312.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#D18DF8
RGBrgb(209, 141, 248)
HSLhsl(278, 88%, 76%)
HSVhsv(278, 43%, 97%)
CMYKcmyk(15.7%, 43.1%, 0%, 2.7%)
CIE-LABlab(69.03, 44.42, -43.57)
CIE-LCHlch(69.03, 62.22, 315.55°)
OKLaboklab(75.11% 0.1098 -0.1209)
OKLCHoklch(75.11% 0.163 312.3)
XYZxyz(52.7597, 39.3834, 93.6112)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DF8 #B4F88D
analogous
#9C8DF8 #D18DF8 #F88DEA
triadic
#D18DF8 #F8D18D #8DF8D1
tetradic
#D18DF8 #F89C8D #B4F88D #8DEAF8
square
#D18DF8 #F89C8D #B4F88D #8DEAF8
split-complementary
#D18DF8 #EAF88D #8DF89C
monochromatic
#A21AF1 #BA53F4 #D18DF8 #E8C7FC #F3E2FD

Accessibility & contrast

On white

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

On black

8.88
#D18DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DF8
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DF8#FFFFFF#000000##000000
##D18DF81.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#CD9DB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18df8;
/* rgb */ color: rgb(209, 141, 248);
/* oklch */ color: oklch(75.1% 0.163 312.3);
Tailwind
colors: {
  custom: {
    50: '#e1b0fb',
    500: '#d18df8',
    950: '#000000',
  },
}
SCSS
$custom: #d18df8;
$custom-light: #e1b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d18df8",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 278.131,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75111,
    "c": 0.16333,
    "h": 312.3
  },
  "luminance": 0.39382
}

Semantic roles & 50–950 ramp

primary
#D18DF8
secondary
#E1F5D6
accent
#E50054
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #D18DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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