#D18DFE#D18DFE

#D18DFE is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.4% C 0.170 H 310.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#D18DFE
RGBrgb(209, 141, 254)
HSLhsl(276, 98%, 77%)
HSVhsv(276, 44%, 100%)
CMYKcmyk(17.7%, 44.5%, 0%, 0.4%)
CIE-LABlab(69.30, 45.69, -46.42)
CIE-LCHlch(69.30, 65.14, 314.55°)
OKLaboklab(75.4% 0.1108 -0.1291)
OKLCHoklch(75.4% 0.17 310.6)
XYZxyz(53.7055, 39.7617, 98.5923)
Luminance0.3976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DFE #BAFE8D
analogous
#988DFE #D18DFE #FE8DF3
triadic
#D18DFE #FED18D #8DFED1
tetradic
#D18DFE #FE988D #BAFE8D #8DF3FE
square
#D18DFE #FE988D #BAFE8D #8DF3FE
split-complementary
#D18DFE #F3FE8D #8DFE98
monochromatic
#A014FD #B950FD #D18DFE #E9CAFF #F3E1FF

Accessibility & contrast

On white

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

On black

8.95
#D18DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DFE
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DFE#FFFFFF#000000##000000
##D18DFE1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d18dfe;
/* rgb */ color: rgb(209, 141, 254);
/* oklch */ color: oklch(75.4% 0.170 310.6);
Tailwind
colors: {
  custom: {
    50: '#e1b0ff',
    500: '#d18dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d18dfe;
$custom-light: #e1b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d18dfe",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 276.106,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75403,
    "c": 0.17013,
    "h": 310.6
  },
  "luminance": 0.39761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D18DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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