#D993F7#D993F7

#D993F7 is a light, vivid purple. Relative luminance 0.423; OKLCH L 76.8% C 0.156 H 315.2°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#D993F7
RGBrgb(217, 147, 247)
HSLhsl(282, 86%, 77%)
HSVhsv(282, 40%, 97%)
CMYKcmyk(12.1%, 40.5%, 0%, 3.1%)
CIE-LABlab(71.10, 43.31, -39.73)
CIE-LCHlch(71.10, 58.77, 317.48°)
OKLaboklab(76.84% 0.1105 -0.1097)
OKLCHoklch(76.84% 0.156 315.2)
XYZxyz(55.8349, 42.3359, 93.2080)
Luminance0.4234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993F7 #B1F793
analogous
#A793F7 #D993F7 #F793E3
triadic
#D993F7 #F7D993 #93F7D9
tetradic
#D993F7 #F7A793 #B1F793 #93E3F7
square
#D993F7 #F7A793 #B1F793 #93E3F7
split-complementary
#D993F7 #E3F793 #93F7A7
monochromatic
#B121EF #C55AF3 #D993F7 #EDCCFB #F5E3FD

Accessibility & contrast

On white

2.22
#D993F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#D993F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993F7
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993F7#FFFFFF#000000##000000
##D993F71.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82AAFB
Deuteranopia (green-blind)
#94B0F4
Tritanopia (blue-blind)
#D7A1B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d993f7;
/* rgb */ color: rgb(217, 147, 247);
/* oklch */ color: oklch(76.8% 0.156 315.2);
Tailwind
colors: {
  custom: {
    50: '#e6b4fa',
    500: '#d993f7',
    950: '#000000',
  },
}
SCSS
$custom: #d993f7;
$custom-light: #e6b4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d993f7",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 247
  },
  "hsl": {
    "h": 282,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76843,
    "c": 0.15571,
    "h": 315.2
  },
  "luminance": 0.42335
}

Semantic roles & 50–950 ramp

primary
#D993F7
secondary
#DFF5D6
accent
#E30346
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D993F7

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

Preview Lab → · Contrast checker → · Palette generator →

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