#D993F9#D993F9

#D993F9 is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.9% C 0.158 H 314.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#D993F9
RGBrgb(217, 147, 249)
HSLhsl(281, 89%, 78%)
HSVhsv(281, 41%, 98%)
CMYKcmyk(12.9%, 41%, 0%, 2.4%)
CIE-LABlab(71.19, 43.72, -40.68)
CIE-LCHlch(71.19, 59.72, 317.06°)
OKLaboklab(76.94% 0.1109 -0.1124)
OKLCHoklch(76.94% 0.158 314.6)
XYZxyz(56.1452, 42.4600, 94.8421)
Luminance0.4246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993F9 #B3F993
analogous
#A693F9 #D993F9 #F993E6
triadic
#D993F9 #F9D993 #93F9D9
tetradic
#D993F9 #F9A693 #B3F993 #93E6F9
square
#D993F9 #F9A693 #B3F993 #93E6F9
split-complementary
#D993F9 #E6F993 #93F9A6
monochromatic
#B01FF3 #C559F6 #D993F9 #EDCDFC #F5E2FD

Accessibility & contrast

On white

2.21
#D993F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#D993F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993F9
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993F9#FFFFFF#000000##000000
##D993F91.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d993f9;
/* rgb */ color: rgb(217, 147, 249);
/* oklch */ color: oklch(76.9% 0.158 314.6);
Tailwind
colors: {
  custom: {
    50: '#e6b4fb',
    500: '#d993f9',
    950: '#000000',
  },
}
SCSS
$custom: #d993f9;
$custom-light: #e6b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d993f9",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 249
  },
  "hsl": {
    "h": 281.176,
    "s": 89.474,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76935,
    "c": 0.15791,
    "h": 314.6
  },
  "luminance": 0.42459
}

Semantic roles & 50–950 ramp

primary
#D993F9
secondary
#E0F5D6
accent
#E60048
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D993F9

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

Preview Lab → · Contrast checker → · Palette generator →

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