#D99EFB#D99EFB

#D99EFB is a light, vivid violet. Relative luminance 0.462; OKLCH L 78.8% C 0.142 H 312.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#D99EFB
RGBrgb(217, 158, 251)
HSLhsl(278, 92%, 80%)
HSVhsv(278, 37%, 98%)
CMYKcmyk(13.5%, 37.1%, 0%, 1.6%)
CIE-LABlab(73.66, 38.26, -37.92)
CIE-LCHlch(73.66, 53.87, 315.25°)
OKLaboklab(78.82% 0.0958 -0.1046)
OKLCHoklch(78.82% 0.142 312.5)
XYZxyz(58.2518, 46.1715, 97.0914)
Luminance0.4617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EFB #C0FB9E
analogous
#AB9EFB #D99EFB #FB9EEE
triadic
#D99EFB #FBD99E #9EFBD9
tetradic
#D99EFB #FBAB9E #C0FB9E #9EEEFB
square
#D99EFB #FBAB9E #C0FB9E #9EEEFB
split-complementary
#D99EFB #EEFB9E #9EFBAB
monochromatic
#AB28F6 #C263F9 #D99EFB #F0D9FD #F3E2FE

Accessibility & contrast

On white

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

On black

10.23
#D99EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EFB
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EFB#FFFFFF#000000##000000
##D99EFB1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d99efb;
/* rgb */ color: rgb(217, 158, 251);
/* oklch */ color: oklch(78.8% 0.142 312.5);
Tailwind
colors: {
  custom: {
    50: '#e6bbfd',
    500: '#d99efb',
    950: '#000000',
  },
}
SCSS
$custom: #d99efb;
$custom-light: #e6bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d99efb",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 278.065,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78824,
    "c": 0.14181,
    "h": 312.5
  },
  "luminance": 0.4617
}

Semantic roles & 50–950 ramp

primary
#D99EFB
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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