#D993EC#D993EC

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

Color values

HEX#D993EC
RGBrgb(217, 147, 236)
HSLhsl(287, 70%, 75%)
HSVhsv(287, 38%, 93%)
CMYKcmyk(8.1%, 37.7%, 0%, 7.5%)
CIE-LABlab(70.65, 41.11, -34.42)
CIE-LCHlch(70.65, 53.62, 320.06°)
OKLaboklab(76.35% 0.1083 -0.0945)
OKLCHoklch(76.35% 0.144 318.9)
XYZxyz(54.1873, 41.6768, 84.5306)
Luminance0.4168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993EC #A6EC93
analogous
#AC93EC #D993EC #EC93D3
triadic
#D993EC #ECD993 #93ECD9
tetradic
#D993EC #ECAC93 #A6EC93 #93D3EC
square
#D993EC #ECAC93 #A6EC93 #93D3EC
split-complementary
#D993EC #D3EC93 #93ECAC
monochromatic
#B42BDA #C75FE3 #D993EC #EBC7F5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.33
#D993EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993EC
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993EC#FFFFFF#000000##000000
##D993EC1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#DA9EB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d993ec;
/* rgb */ color: rgb(217, 147, 236);
/* oklch */ color: oklch(76.4% 0.144 318.9);
Tailwind
colors: {
  custom: {
    50: '#e6b4f2',
    500: '#d993ec',
    950: '#000000',
  },
}
SCSS
$custom: #d993ec;
$custom-light: #e6b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d993ec",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 287.191,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76352,
    "c": 0.14371,
    "h": 318.9
  },
  "luminance": 0.41675
}

Semantic roles & 50–950 ramp

primary
#D993EC
secondary
#DEF2D9
accent
#D2133C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D993EC

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

Preview Lab → · Contrast checker → · Palette generator →

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