#D18FFE#D18FFE

#D18FFE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.7% C 0.167 H 310.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D18FFE
RGBrgb(209, 143, 254)
HSLhsl(276, 98%, 78%)
HSVhsv(276, 44%, 100%)
CMYKcmyk(17.7%, 43.7%, 0%, 0.4%)
CIE-LABlab(69.72, 44.63, -45.76)
CIE-LCHlch(69.72, 63.92, 314.29°)
OKLaboklab(75.72% 0.1081 -0.1272)
OKLCHoklch(75.72% 0.167 310.3)
XYZxyz(54.0031, 40.3568, 98.6915)
Luminance0.4036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18FFE #BCFE8F
analogous
#9A8FFE #D18FFE #FE8FF3
triadic
#D18FFE #FED18F #8FFED1
tetradic
#D18FFE #FE9A8F #BCFE8F #8FF3FE
square
#D18FFE #FE9A8F #BCFE8F #8FF3FE
split-complementary
#D18FFE #F3FE8F #8FFE9A
monochromatic
#9F16FD #B852FD #D18FFE #EACCFF #F3E1FF

Accessibility & contrast

On white

2.32
#D18FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#D18FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18FFE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18FFE#FFFFFF#000000##000000
##D18FFE1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#CCA0BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d18ffe;
/* rgb */ color: rgb(209, 143, 254);
/* oklch */ color: oklch(75.7% 0.167 310.3);
Tailwind
colors: {
  custom: {
    50: '#e1b1ff',
    500: '#d18ffe',
    950: '#000000',
  },
}
SCSS
$custom: #d18ffe;
$custom-light: #e1b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ffe",
  "rgb": {
    "r": 209,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 275.676,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7572,
    "c": 0.16689,
    "h": 310.3
  },
  "luminance": 0.40356
}

Semantic roles & 50–950 ramp

primary
#D18FFE
secondary
#E2F7D4
accent
#E6005D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D18FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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