#D993EF#D993EF

#D993EF is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.5% C 0.147 H 317.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#D993EF
RGBrgb(217, 147, 239)
HSLhsl(286, 74%, 76%)
HSVhsv(286, 38%, 94%)
CMYKcmyk(9.2%, 38.5%, 0%, 6.3%)
CIE-LABlab(70.77, 41.71, -35.88)
CIE-LCHlch(70.77, 55.01, 319.30°)
OKLaboklab(76.48% 0.1089 -0.0986)
OKLCHoklch(76.48% 0.147 317.8)
XYZxyz(54.6268, 41.8527, 86.8454)
Luminance0.4185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993EF #A9EF93
analogous
#AB93EF #D993EF #EF93D7
triadic
#D993EF #EFD993 #93EFD9
tetradic
#D993EF #EFAB93 #A9EF93 #93D7EF
square
#D993EF #EFAB93 #A9EF93 #93D7EF
split-complementary
#D993EF #D7EF93 #93EFAB
monochromatic
#B328DF #C65EE7 #D993EF #ECC8F7 #F6E4FB

Accessibility & contrast

On white

2.24
#D993EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#D993EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993EF
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993EF#FFFFFF#000000##000000
##D993EF1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F2
Deuteranopia (green-blind)
#97B0EC
Tritanopia (blue-blind)
#D99FB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d993ef;
/* rgb */ color: rgb(217, 147, 239);
/* oklch */ color: oklch(76.5% 0.147 317.8);
Tailwind
colors: {
  custom: {
    50: '#e6b4f4',
    500: '#d993ef',
    950: '#000000',
  },
}
SCSS
$custom: #d993ef;
$custom-light: #e6b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d993ef",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 285.652,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76483,
    "c": 0.14695,
    "h": 317.8
  },
  "luminance": 0.41851
}

Semantic roles & 50–950 ramp

primary
#D993EF
secondary
#DFF3D8
accent
#D60F3F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D993EF

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

Preview Lab → · Contrast checker → · Palette generator →

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