#D799ED#D799ED

#D799ED is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.2% C 0.134 H 317.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#D799ED
RGBrgb(215, 153, 237)
HSLhsl(284, 70%, 76%)
HSVhsv(284, 35%, 93%)
CMYKcmyk(9.3%, 35.4%, 0%, 7.1%)
CIE-LABlab(71.79, 37.50, -33.22)
CIE-LCHlch(71.79, 50.10, 318.46°)
OKLaboklab(77.18% 0.0976 -0.0911)
OKLCHoklch(77.18% 0.134 317)
XYZxyz(54.6994, 43.3453, 85.5894)
Luminance0.4334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799ED #AFED99
analogous
#AD99ED #D799ED #ED99D9
triadic
#D799ED #EDD799 #99EDD7
tetradic
#D799ED #EDAD99 #AFED99 #99D9ED
square
#D799ED #EDAD99 #AFED99 #99D9ED
split-complementary
#D799ED #D9ED99 #99EDAD
monochromatic
#AE31DB #C365E4 #D799ED #EBCDF6 #F5E5FA

Accessibility & contrast

On white

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

On black

9.67
#D799ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799ED
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799ED#FFFFFF#000000##000000
##D799ED1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF0
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#D7A3B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d799ed;
/* rgb */ color: rgb(215, 153, 237);
/* oklch */ color: oklch(77.2% 0.134 317.0);
Tailwind
colors: {
  custom: {
    50: '#e4b8f3',
    500: '#d799ed',
    950: '#000000',
  },
}
SCSS
$custom: #d799ed;
$custom-light: #e4b8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d799ed",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 284.286,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7718,
    "c": 0.1335,
    "h": 317
  },
  "luminance": 0.43344
}

Semantic roles & 50–950 ramp

primary
#D799ED
secondary
#E0F2D9
accent
#D21445
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D799ED

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

Preview Lab → · Contrast checker → · Palette generator →

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