#D99EF3#D99EF3

#D99EF3 is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.5% C 0.133 H 315.1°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#D99EF3
RGBrgb(217, 158, 243)
HSLhsl(282, 78%, 79%)
HSVhsv(282, 35%, 95%)
CMYKcmyk(10.7%, 35%, 0%, 4.7%)
CIE-LABlab(73.34, 36.62, -34.08)
CIE-LCHlch(73.34, 50.02, 317.06°)
OKLaboklab(78.48% 0.094 -0.0936)
OKLCHoklch(78.48% 0.133 315.1)
XYZxyz(57.0173, 45.6777, 90.5897)
Luminance0.4568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EF3 #B8F39E
analogous
#AE9EF3 #D99EF3 #F39EE2
triadic
#D99EF3 #F3D99E #9EF3D9
tetradic
#D99EF3 #F3AE9E #B8F39E #9EE2F3
square
#D99EF3 #F3AE9E #B8F39E #9EE2F3
split-complementary
#D99EF3 #E2F39E #9EF3AE
monochromatic
#AE31E6 #C468EC #D99EF3 #EED4FA #F4E4FC

Accessibility & contrast

On white

2.07
#D99EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#D99EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EF3
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EF3#FFFFFF#000000##000000
##D99EF31.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B1F6
Deuteranopia (green-blind)
#9FB6F0
Tritanopia (blue-blind)
#D8A9BE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d99ef3;
/* rgb */ color: rgb(217, 158, 243);
/* oklch */ color: oklch(78.5% 0.133 315.1);
Tailwind
colors: {
  custom: {
    50: '#e6bbf7',
    500: '#d99ef3',
    950: '#000000',
  },
}
SCSS
$custom: #d99ef3;
$custom-light: #e6bbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ef3",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 243
  },
  "hsl": {
    "h": 281.647,
    "s": 77.982,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78476,
    "c": 0.13265,
    "h": 315.1
  },
  "luminance": 0.45676
}

Semantic roles & 50–950 ramp

primary
#D99EF3
secondary
#E0F3D8
accent
#DA0B4B
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #D99EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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