#D993F8#D993F8

#D993F8 is a light, vivid purple. Relative luminance 0.424; OKLCH L 76.9% C 0.157 H 314.9°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D993F8
RGBrgb(217, 147, 248)
HSLhsl(282, 88%, 77%)
HSVhsv(282, 41%, 97%)
CMYKcmyk(12.5%, 40.7%, 0%, 2.7%)
CIE-LABlab(71.14, 43.52, -40.20)
CIE-LCHlch(71.14, 59.25, 317.27°)
OKLaboklab(76.89% 0.1107 -0.111)
OKLCHoklch(76.89% 0.157 314.9)
XYZxyz(55.9896, 42.3978, 94.0229)
Luminance0.4240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993F8 #B2F893
analogous
#A693F8 #D993F8 #F893E5
triadic
#D993F8 #F8D993 #93F8D9
tetradic
#D993F8 #F8A693 #B2F893 #93E5F8
square
#D993F8 #F8A693 #B2F893 #93E5F8
split-complementary
#D993F8 #E5F893 #93F8A6
monochromatic
#B120F1 #C55AF4 #D993F8 #EDCCFC #F5E2FD

Accessibility & contrast

On white

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

On black

9.48
#D993F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993F8
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993F8#FFFFFF#000000##000000
##D993F81.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#D7A1BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d993f8;
/* rgb */ color: rgb(217, 147, 248);
/* oklch */ color: oklch(76.9% 0.157 314.9);
Tailwind
colors: {
  custom: {
    50: '#e6b4fb',
    500: '#d993f8',
    950: '#000000',
  },
}
SCSS
$custom: #d993f8;
$custom-light: #e6b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d993f8",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 248
  },
  "hsl": {
    "h": 281.584,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76889,
    "c": 0.15681,
    "h": 314.9
  },
  "luminance": 0.42396
}

Semantic roles & 50–950 ramp

primary
#D993F8
secondary
#DFF5D6
accent
#E40147
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D993F8

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

Preview Lab → · Contrast checker → · Palette generator →

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