#D18EFD#D18EFD

#D18EFD is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.5% C 0.167 H 310.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#D18EFD
RGBrgb(209, 142, 253)
HSLhsl(276, 97%, 77%)
HSVhsv(276, 44%, 99%)
CMYKcmyk(17.4%, 43.9%, 0%, 0.8%)
CIE-LABlab(69.47, 44.95, -45.62)
CIE-LCHlch(69.47, 64.04, 314.58°)
OKLaboklab(75.51% 0.1093 -0.1268)
OKLCHoklch(75.51% 0.167 310.8)
XYZxyz(53.6939, 39.9941, 97.8005)
Luminance0.3999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18EFD #BAFD8E
analogous
#998EFD #D18EFD #FD8EF2
triadic
#D18EFD #FDD18E #8EFDD1
tetradic
#D18EFD #FD998E #BAFD8E #8EF2FD
square
#D18EFD #FD998E #BAFD8E #8EF2FD
split-complementary
#D18EFD #F2FD8E #8EFD99
monochromatic
#A016FB #B952FC #D18EFD #E9CAFE #F3E1FE

Accessibility & contrast

On white

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

On black

9.00
#D18EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18EFD
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18EFD#FFFFFF#000000##000000
##D18EFD1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#CC9FBA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d18efd;
/* rgb */ color: rgb(209, 142, 253);
/* oklch */ color: oklch(75.5% 0.167 310.8);
Tailwind
colors: {
  custom: {
    50: '#e1b0fe',
    500: '#d18efd',
    950: '#000000',
  },
}
SCSS
$custom: #d18efd;
$custom-light: #e1b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d18efd",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 276.216,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75513,
    "c": 0.16737,
    "h": 310.8
  },
  "luminance": 0.39993
}

Semantic roles & 50–950 ramp

primary
#D18EFD
secondary
#E2F7D4
accent
#E6005B
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151118
muted
#848086

Preview Lab

Preview with #D18EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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