#D993DC#D993DC

#D993DC is a light, vivid purple. Relative luminance 0.408; OKLCH L 75.7% C 0.127 H 325.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#D993DC
RGBrgb(217, 147, 220)
HSLhsl(298, 51%, 72%)
HSVhsv(298, 33%, 86%)
CMYKcmyk(1.4%, 33.2%, 0%, 13.7%)
CIE-LABlab(70.03, 38.04, -26.59)
CIE-LCHlch(70.03, 46.41, 325.05°)
OKLaboklab(75.68% 0.1045 -0.0723)
OKLCHoklch(75.68% 0.127 325.3)
XYZxyz(51.9660, 40.7883, 72.8318)
Luminance0.4079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993DC #96DC93
analogous
#B593DC #D993DC #DC93BB
triadic
#D993DC #DCD993 #93DCD9
tetradic
#D993DC #DCB593 #96DC93 #93BBDC
square
#D993DC #DCB593 #96DC93 #93BBDC
split-complementary
#D993DC #BBDC93 #93DCB5
monochromatic
#B43CB9 #C965CD #D993DC #E9C1EB #F7E8F8

Accessibility & contrast

On white

2.29
#D993DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#D993DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993DC
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993DC#FFFFFF#000000##000000
##D993DC1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA6DF
Deuteranopia (green-blind)
#9EAEDA
Tritanopia (blue-blind)
#DD9AAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d993dc;
/* rgb */ color: rgb(217, 147, 220);
/* oklch */ color: oklch(75.7% 0.127 325.3);
Tailwind
colors: {
  custom: {
    50: '#e6b4e7',
    500: '#d993dc',
    950: '#000000',
  },
}
SCSS
$custom: #d993dc;
$custom-light: #e6b4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d993dc",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 220
  },
  "hsl": {
    "h": 297.534,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75679,
    "c": 0.12706,
    "h": 325.3
  },
  "luminance": 0.40786
}

Semantic roles & 50–950 ramp

primary
#D993DC
secondary
#DDEFDC
accent
#BE272D
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D993DC

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

Preview Lab → · Contrast checker → · Palette generator →

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