#D18DFF#D18DFF

#D18DFF is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.5% C 0.171 H 310.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D18DFF
RGBrgb(209, 141, 255)
HSLhsl(276, 100%, 78%)
HSVhsv(276, 45%, 100%)
CMYKcmyk(18%, 44.7%, 0%, 0%)
CIE-LABlab(69.35, 45.91, -46.89)
CIE-LCHlch(69.35, 65.62, 314.39°)
OKLaboklab(75.45% 0.1109 -0.1305)
OKLCHoklch(75.45% 0.171 310.4)
XYZxyz(53.8661, 39.8259, 99.4379)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DFF #BBFF8D
analogous
#988DFF #D18DFF #FF8DF4
triadic
#D18DFF #FFD18D #8DFFD1
tetradic
#D18DFF #FF988D #BBFF8D #8DF4FF
square
#D18DFF #FF988D #BBFF8D #8DF4FF
split-complementary
#D18DFF #F4FF8D #8DFF98
monochromatic
#A013FF #B850FF #D18DFF #EACAFF #F3E0FF

Accessibility & contrast

On white

2.34
#D18DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#D18DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DFF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DFF#FFFFFF#000000##000000
##D18DFF1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#85ABFC
Tritanopia (blue-blind)
#CC9FBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d18dff;
/* rgb */ color: rgb(209, 141, 255);
/* oklch */ color: oklch(75.5% 0.171 310.4);
Tailwind
colors: {
  custom: {
    50: '#e1b0ff',
    500: '#d18dff',
    950: '#000000',
  },
}
SCSS
$custom: #d18dff;
$custom-light: #e1b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d18dff",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 275.789,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75453,
    "c": 0.17126,
    "h": 310.4
  },
  "luminance": 0.39825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D18DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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