#D993ED#D993ED

#D993ED is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.4% C 0.145 H 318.5°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#D993ED
RGBrgb(217, 147, 237)
HSLhsl(287, 71%, 75%)
HSVhsv(287, 38%, 93%)
CMYKcmyk(8.4%, 38%, 0%, 7.1%)
CIE-LABlab(70.69, 41.31, -34.91)
CIE-LCHlch(70.69, 54.08, 319.80°)
OKLaboklab(76.4% 0.1085 -0.0959)
OKLCHoklch(76.4% 0.145 318.5)
XYZxyz(54.3330, 41.7351, 85.2979)
Luminance0.4173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993ED #A7ED93
analogous
#AC93ED #D993ED #ED93D4
triadic
#D993ED #EDD993 #93EDD9
tetradic
#D993ED #EDAC93 #A7ED93 #93D4ED
square
#D993ED #EDAC93 #A7ED93 #93D4ED
split-complementary
#D993ED #D4ED93 #93EDAC
monochromatic
#B42ADC #C75FE4 #D993ED #EBC7F6 #F6E5FB

Accessibility & contrast

On white

2.25
#D993ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#D993ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993ED
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993ED#FFFFFF#000000##000000
##D993ED1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F0
Deuteranopia (green-blind)
#98AFEA
Tritanopia (blue-blind)
#D99EB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d993ed;
/* rgb */ color: rgb(217, 147, 237);
/* oklch */ color: oklch(76.4% 0.145 318.5);
Tailwind
colors: {
  custom: {
    50: '#e6b4f3',
    500: '#d993ed',
    950: '#000000',
  },
}
SCSS
$custom: #d993ed;
$custom-light: #e6b4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d993ed",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 237
  },
  "hsl": {
    "h": 286.667,
    "s": 71.429,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76395,
    "c": 0.14479,
    "h": 318.5
  },
  "luminance": 0.41734
}

Semantic roles & 50–950 ramp

primary
#D993ED
secondary
#DEF2D9
accent
#D3123D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D993ED

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

Preview Lab → · Contrast checker → · Palette generator →

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