#D18EFF#D18EFF

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

Color values

HEX#D18EFF
RGBrgb(209, 142, 255)
HSLhsl(276, 100%, 78%)
HSVhsv(276, 44%, 100%)
CMYKcmyk(18%, 44.3%, 0%, 0%)
CIE-LABlab(69.56, 45.37, -46.56)
CIE-LCHlch(69.56, 65.01, 314.26°)
OKLaboklab(75.61% 0.1096 -0.1295)
OKLCHoklch(75.61% 0.17 310.2)
XYZxyz(54.0142, 40.1222, 99.4873)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18EFF #BCFF8E
analogous
#988EFF #D18EFF #FF8EF5
triadic
#D18EFF #FFD18E #8EFFD1
tetradic
#D18EFF #FF988E #BCFF8E #8EF5FF
square
#D18EFF #FF988E #BCFF8E #8EF5FF
split-complementary
#D18EFF #F5FF8E #8EFF98
monochromatic
#9F14FF #B851FF #D18EFF #EACBFF #F3E0FF

Accessibility & contrast

On white

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

On black

9.02
#D18EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18EFF
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18EFF#FFFFFF#000000##000000
##D18EFF1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#86ABFC
Tritanopia (blue-blind)
#CCA0BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d18eff;
/* rgb */ color: rgb(209, 142, 255);
/* oklch */ color: oklch(75.6% 0.170 310.2);
Tailwind
colors: {
  custom: {
    50: '#e1b0ff',
    500: '#d18eff',
    950: '#000000',
  },
}
SCSS
$custom: #d18eff;
$custom-light: #e1b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d18eff",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 275.575,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75611,
    "c": 0.16965,
    "h": 310.2
  },
  "luminance": 0.40121
}

Semantic roles & 50–950 ramp

primary
#D18EFF
secondary
#E2F7D4
accent
#E6005D
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151118
muted
#848086

Preview Lab

Preview with #D18EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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