#D18DFD#D18DFD

#D18DFD is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.4% C 0.169 H 310.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#D18DFD
RGBrgb(209, 141, 253)
HSLhsl(276, 97%, 77%)
HSVhsv(276, 44%, 99%)
CMYKcmyk(17.4%, 44.3%, 0%, 0.8%)
CIE-LABlab(69.25, 45.48, -45.95)
CIE-LCHlch(69.25, 64.65, 314.71°)
OKLaboklab(75.35% 0.1106 -0.1277)
OKLCHoklch(75.35% 0.169 310.9)
XYZxyz(53.5458, 39.6978, 97.7511)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DFD #B9FD8D
analogous
#998DFD #D18DFD #FD8DF1
triadic
#D18DFD #FDD18D #8DFDD1
tetradic
#D18DFD #FD998D #B9FD8D #8DF1FD
square
#D18DFD #FD998D #B9FD8D #8DF1FD
split-complementary
#D18DFD #F1FD8D #8DFD99
monochromatic
#A015FB #B951FC #D18DFD #E9C9FE #F3E1FE

Accessibility & contrast

On white

2.35
#D18DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#D18DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DFD
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DFD#FFFFFF#000000##000000
##D18DFD1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#CC9EB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d18dfd;
/* rgb */ color: rgb(209, 141, 253);
/* oklch */ color: oklch(75.4% 0.169 310.9);
Tailwind
colors: {
  custom: {
    50: '#e1b0fe',
    500: '#d18dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d18dfd;
$custom-light: #e1b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d18dfd",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 276.429,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75354,
    "c": 0.16899,
    "h": 310.9
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

primary
#D18DFD
secondary
#E2F7D4
accent
#E6005A
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151018
muted
#847F86

Preview Lab

Preview with #D18DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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