#D993F6#D993F6

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

Color values

HEX#D993F6
RGBrgb(217, 147, 246)
HSLhsl(282, 85%, 77%)
HSVhsv(282, 40%, 96%)
CMYKcmyk(11.8%, 40.2%, 0%, 3.5%)
CIE-LABlab(71.06, 43.11, -39.25)
CIE-LCHlch(71.06, 58.30, 317.69°)
OKLaboklab(76.8% 0.1103 -0.1083)
OKLCHoklch(76.8% 0.155 315.5)
XYZxyz(55.6810, 42.2743, 92.3975)
Luminance0.4227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993F6 #B0F693
analogous
#A893F6 #D993F6 #F693E2
triadic
#D993F6 #F6D993 #93F6D9
tetradic
#D993F6 #F6A893 #B0F693 #93E2F6
square
#D993F6 #F6A893 #B0F693 #93E2F6
split-complementary
#D993F6 #E2F693 #93F6A8
monochromatic
#B122ED #C55BF1 #D993F6 #EDCBFB #F5E3FD

Accessibility & contrast

On white

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

On black

9.45
#D993F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993F6
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993F6#FFFFFF#000000##000000
##D993F61.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82AAFA
Deuteranopia (green-blind)
#94B0F3
Tritanopia (blue-blind)
#D8A0B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d993f6;
/* rgb */ color: rgb(217, 147, 246);
/* oklch */ color: oklch(76.8% 0.155 315.5);
Tailwind
colors: {
  custom: {
    50: '#e6b4f9',
    500: '#d993f6',
    950: '#000000',
  },
}
SCSS
$custom: #d993f6;
$custom-light: #e6b4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d993f6",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 246
  },
  "hsl": {
    "h": 282.424,
    "s": 84.615,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76797,
    "c": 0.15459,
    "h": 315.5
  },
  "luminance": 0.42273
}

Semantic roles & 50–950 ramp

primary
#D993F6
secondary
#DFF5D6
accent
#E10445
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D993F6

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

Preview Lab → · Contrast checker → · Palette generator →

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