#D799EF#D799EF

#D799EF is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.3% C 0.136 H 316.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#D799EF
RGBrgb(215, 153, 239)
HSLhsl(283, 73%, 77%)
HSVhsv(283, 36%, 94%)
CMYKcmyk(10%, 36%, 0%, 6.3%)
CIE-LABlab(71.87, 37.90, -34.19)
CIE-LCHlch(71.87, 51.04, 317.95°)
OKLaboklab(77.27% 0.098 -0.0939)
OKLCHoklch(77.27% 0.136 316.2)
XYZxyz(54.9932, 43.4628, 87.1368)
Luminance0.4346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799EF #B1EF99
analogous
#AC99EF #D799EF #EF99DC
triadic
#D799EF #EFD799 #99EFD7
tetradic
#D799EF #EFAC99 #B1EF99 #99DCEF
square
#D799EF #EFAC99 #B1EF99 #99DCEF
split-complementary
#D799EF #DCEF99 #99EFAC
monochromatic
#AE2FDE #C264E7 #D799EF #ECCEF7 #F5E5FB

Accessibility & contrast

On white

2.17
#D799EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#D799EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799EF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799EF#FFFFFF#000000##000000
##D799EF1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#D6A4B9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d799ef;
/* rgb */ color: rgb(215, 153, 239);
/* oklch */ color: oklch(77.3% 0.136 316.2);
Tailwind
colors: {
  custom: {
    50: '#e4b8f4',
    500: '#d799ef',
    950: '#000000',
  },
}
SCSS
$custom: #d799ef;
$custom-light: #e4b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d799ef",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 283.256,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77266,
    "c": 0.13574,
    "h": 316.2
  },
  "luminance": 0.43462
}

Semantic roles & 50–950 ramp

primary
#D799EF
secondary
#E0F3D8
accent
#D51147
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D799EF

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

Preview Lab → · Contrast checker → · Palette generator →

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