#D99EFF#D99EFF

#D99EFF is a light, vivid violet. Relative luminance 0.464; OKLCH L 79.0% C 0.146 H 311.3°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#D99EFF
RGBrgb(217, 158, 255)
HSLhsl(276, 100%, 81%)
HSVhsv(276, 38%, 100%)
CMYKcmyk(14.9%, 38%, 0%, 0%)
CIE-LABlab(73.82, 39.09, -39.83)
CIE-LCHlch(73.82, 55.81, 314.46°)
OKLaboklab(79% 0.0966 -0.11)
OKLCHoklch(79% 0.146 311.3)
XYZxyz(58.8890, 46.4264, 100.4473)
Luminance0.4642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EFF #C4FF9E
analogous
#A89EFF #D99EFF #FF9EF4
triadic
#D99EFF #FFD99E #9EFFD9
tetradic
#D99EFF #FFA89E #C4FF9E #9EF4FF
square
#D99EFF #FFA89E #C4FF9E #9EF4FF
split-complementary
#D99EFF #F4FF9E #9EFFA8
monochromatic
#A924FF #C161FF #D99EFF #F1DBFF #F3E0FF

Accessibility & contrast

On white

2.04
#D99EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#D99EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EFF
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EFF#FFFFFF#000000##000000
##D99EFF1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#9AB7FC
Tritanopia (blue-blind)
#D5ACC3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d99eff;
/* rgb */ color: rgb(217, 158, 255);
/* oklch */ color: oklch(79.0% 0.146 311.3);
Tailwind
colors: {
  custom: {
    50: '#e6bbff',
    500: '#d99eff',
    950: '#000000',
  },
}
SCSS
$custom: #d99eff;
$custom-light: #e6bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#d99eff",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 276.495,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79003,
    "c": 0.14644,
    "h": 311.3
  },
  "luminance": 0.46425
}

Semantic roles & 50–950 ramp

primary
#D99EFF
secondary
#E2F7D4
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D99EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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