#D993F2#D993F2

#D993F2 is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.6% C 0.150 H 316.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#D993F2
RGBrgb(217, 147, 242)
HSLhsl(284, 79%, 76%)
HSVhsv(284, 39%, 95%)
CMYKcmyk(10.3%, 39.3%, 0%, 5.1%)
CIE-LABlab(70.89, 42.31, -37.32)
CIE-LCHlch(70.89, 56.42, 318.58°)
OKLaboklab(76.62% 0.1095 -0.1028)
OKLCHoklch(76.62% 0.15 316.8)
XYZxyz(55.0737, 42.0314, 89.1989)
Luminance0.4203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993F2 #ACF293
analogous
#AA93F2 #D993F2 #F293DB
triadic
#D993F2 #F2D993 #93F2D9
tetradic
#D993F2 #F2AA93 #ACF293 #93DBF2
square
#D993F2 #F2AA93 #ACF293 #93DBF2
split-complementary
#D993F2 #DBF293 #93F2AA
monochromatic
#B326E5 #C65CEB #D993F2 #ECCAF9 #F5E4FC

Accessibility & contrast

On white

2.23
#D993F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#D993F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993F2
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993F2#FFFFFF#000000##000000
##D993F21.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#D89FB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d993f2;
/* rgb */ color: rgb(217, 147, 242);
/* oklch */ color: oklch(76.6% 0.150 316.8);
Tailwind
colors: {
  custom: {
    50: '#e6b4f6',
    500: '#d993f2',
    950: '#000000',
  },
}
SCSS
$custom: #d993f2;
$custom-light: #e6b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d993f2",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 284.211,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76617,
    "c": 0.15021,
    "h": 316.8
  },
  "luminance": 0.4203
}

Semantic roles & 50–950 ramp

primary
#D993F2
secondary
#DFF4D7
accent
#DB0B41
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D993F2

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

Preview Lab → · Contrast checker → · Palette generator →

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