#D993FC#D993FC

#D993FC is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.1% C 0.161 H 313.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#D993FC
RGBrgb(217, 147, 252)
HSLhsl(280, 95%, 78%)
HSVhsv(280, 42%, 99%)
CMYKcmyk(13.9%, 41.7%, 0%, 1.2%)
CIE-LABlab(71.32, 44.34, -42.11)
CIE-LCHlch(71.32, 61.15, 316.47°)
OKLaboklab(77.07% 0.1115 -0.1165)
OKLCHoklch(77.07% 0.161 313.7)
XYZxyz(56.6168, 42.6487, 97.3261)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993FC #B6FC93
analogous
#A493FC #D993FC #FC93EA
triadic
#D993FC #FCD993 #93FCD9
tetradic
#D993FC #FCA493 #B6FC93 #93EAFC
square
#D993FC #FCA493 #B6FC93 #93EAFC
split-complementary
#D993FC #EAFC93 #93FCA4
monochromatic
#AF1CF9 #C457FA #D993FC #EECFFE #F5E1FE

Accessibility & contrast

On white

2.20
#D993FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#D993FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993FC
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993FC#FFFFFF#000000##000000
##D993FC1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#D6A2BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d993fc;
/* rgb */ color: rgb(217, 147, 252);
/* oklch */ color: oklch(77.1% 0.161 313.7);
Tailwind
colors: {
  custom: {
    50: '#e6b4fd',
    500: '#d993fc',
    950: '#000000',
  },
}
SCSS
$custom: #d993fc;
$custom-light: #e6b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d993fc",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 280,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77074,
    "c": 0.16125,
    "h": 313.7
  },
  "luminance": 0.42647
}

Semantic roles & 50–950 ramp

primary
#D993FC
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D993FC

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

Preview Lab → · Contrast checker → · Palette generator →

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