#D99EFA#D99EFA

#D99EFA is a light, vivid violet. Relative luminance 0.461; OKLCH L 78.8% C 0.141 H 312.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D99EFA
RGBrgb(217, 158, 250)
HSLhsl(278, 90%, 80%)
HSVhsv(278, 37%, 98%)
CMYKcmyk(13.2%, 36.8%, 0%, 2%)
CIE-LABlab(73.62, 38.05, -37.44)
CIE-LCHlch(73.62, 53.39, 315.46°)
OKLaboklab(78.78% 0.0956 -0.1032)
OKLCHoklch(78.78% 0.141 312.8)
XYZxyz(58.0946, 46.1086, 96.2634)
Luminance0.4611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EFA #BFFA9E
analogous
#AB9EFA #D99EFA #FA9EED
triadic
#D99EFA #FAD99E #9EFAD9
tetradic
#D99EFA #FAAB9E #BFFA9E #9EEDFA
square
#D99EFA #FAAB9E #BFFA9E #9EEDFA
split-complementary
#D99EFA #EDFA9E #9EFAAB
monochromatic
#AB2AF4 #C264F7 #D99EFA #F0D8FD #F4E2FD

Accessibility & contrast

On white

2.05
#D99EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#D99EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EFA
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EFA#FFFFFF#000000##000000
##D99EFA1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#9CB6F7
Tritanopia (blue-blind)
#D6ABC1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d99efa;
/* rgb */ color: rgb(217, 158, 250);
/* oklch */ color: oklch(78.8% 0.141 312.8);
Tailwind
colors: {
  custom: {
    50: '#e6bbfc',
    500: '#d99efa',
    950: '#000000',
  },
}
SCSS
$custom: #d99efa;
$custom-light: #e6bbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d99efa",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 278.478,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.7878,
    "c": 0.14066,
    "h": 312.8
  },
  "luminance": 0.46108
}

Semantic roles & 50–950 ramp

primary
#D99EFA
secondary
#E1F6D5
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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