#D18EFE#D18EFE

#D18EFE is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.6% C 0.169 H 310.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#D18EFE
RGBrgb(209, 142, 254)
HSLhsl(276, 98%, 78%)
HSVhsv(276, 44%, 100%)
CMYKcmyk(17.7%, 44.1%, 0%, 0.4%)
CIE-LABlab(69.51, 45.16, -46.09)
CIE-LCHlch(69.51, 64.53, 314.42°)
OKLaboklab(75.56% 0.1094 -0.1281)
OKLCHoklch(75.56% 0.169 310.5)
XYZxyz(53.8536, 40.0579, 98.6417)
Luminance0.4006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18EFE #BBFE8E
analogous
#998EFE #D18EFE #FE8EF3
triadic
#D18EFE #FED18E #8EFED1
tetradic
#D18EFE #FE998E #BBFE8E #8EF3FE
square
#D18EFE #FE998E #BBFE8E #8EF3FE
split-complementary
#D18EFE #F3FE8E #8EFE99
monochromatic
#A015FD #B851FD #D18EFE #EACBFF #F3E1FF

Accessibility & contrast

On white

2.33
#D18EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#D18EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18EFE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18EFE#FFFFFF#000000##000000
##D18EFE1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#CC9FBA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d18efe;
/* rgb */ color: rgb(209, 142, 254);
/* oklch */ color: oklch(75.6% 0.169 310.5);
Tailwind
colors: {
  custom: {
    50: '#e1b0ff',
    500: '#d18efe',
    950: '#000000',
  },
}
SCSS
$custom: #d18efe;
$custom-light: #e1b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d18efe",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 275.893,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75561,
    "c": 0.16851,
    "h": 310.5
  },
  "luminance": 0.40057
}

Semantic roles & 50–950 ramp

primary
#D18EFE
secondary
#E2F7D4
accent
#E6005C
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151118
muted
#848086

Preview Lab

Preview with #D18EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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