#D18EFA#D18EFA

#D18EFA is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.4% C 0.164 H 311.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D18EFA
RGBrgb(209, 142, 250)
HSLhsl(277, 92%, 77%)
HSVhsv(277, 43%, 98%)
CMYKcmyk(16.4%, 43.2%, 0%, 2%)
CIE-LABlab(69.33, 44.31, -44.19)
CIE-LCHlch(69.33, 62.58, 315.08°)
OKLaboklab(75.37% 0.1088 -0.1227)
OKLCHoklch(75.37% 0.164 311.6)
XYZxyz(53.2198, 39.8044, 95.3034)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18EFA #B7FA8E
analogous
#9B8EFA #D18EFA #FA8EED
triadic
#D18EFA #FAD18E #8EFAD1
tetradic
#D18EFA #FA9B8E #B7FA8E #8EEDFA
square
#D18EFA #FA9B8E #B7FA8E #8EEDFA
split-complementary
#D18EFA #EDFA8E #8EFA9B
monochromatic
#A119F5 #B953F7 #D18EFA #E9C9FD #F3E2FE

Accessibility & contrast

On white

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

On black

8.96
#D18EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18EFA
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18EFA#FFFFFF#000000##000000
##D18EFA1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#CD9EB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d18efa;
/* rgb */ color: rgb(209, 142, 250);
/* oklch */ color: oklch(75.4% 0.164 311.6);
Tailwind
colors: {
  custom: {
    50: '#e1b0fc',
    500: '#d18efa',
    950: '#000000',
  },
}
SCSS
$custom: #d18efa;
$custom-light: #e1b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d18efa",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 277.222,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75367,
    "c": 0.16396,
    "h": 311.6
  },
  "luminance": 0.39803
}

Semantic roles & 50–950 ramp

primary
#D18EFA
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #D18EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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