#D993FB#D993FB

#D993FB is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.0% C 0.160 H 314.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#D993FB
RGBrgb(217, 147, 251)
HSLhsl(280, 93%, 78%)
HSVhsv(280, 41%, 98%)
CMYKcmyk(13.5%, 41.4%, 0%, 1.6%)
CIE-LABlab(71.27, 44.13, -41.64)
CIE-LCHlch(71.27, 60.67, 316.67°)
OKLaboklab(77.03% 0.1113 -0.1152)
OKLCHoklch(77.03% 0.16 314)
XYZxyz(56.4588, 42.5854, 96.4937)
Luminance0.4258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993FB #B5FB93
analogous
#A593FB #D993FB #FB93E9
triadic
#D993FB #FBD993 #93FBD9
tetradic
#D993FB #FBA593 #B5FB93 #93E9FB
square
#D993FB #FBA593 #B5FB93 #93E9FB
split-complementary
#D993FB #E9FB93 #93FBA5
monochromatic
#AF1DF7 #C458F9 #D993FB #EECEFD #F5E1FE

Accessibility & contrast

On white

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

On black

9.52
#D993FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993FB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993FB#FFFFFF#000000##000000
##D993FB1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFF
Deuteranopia (green-blind)
#92B0F8
Tritanopia (blue-blind)
#D7A2BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d993fb;
/* rgb */ color: rgb(217, 147, 251);
/* oklch */ color: oklch(77.0% 0.160 314.0);
Tailwind
colors: {
  custom: {
    50: '#e6b4fd',
    500: '#d993fb',
    950: '#000000',
  },
}
SCSS
$custom: #d993fb;
$custom-light: #e6b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d993fb",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 280.385,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77027,
    "c": 0.16013,
    "h": 314
  },
  "luminance": 0.42584
}

Semantic roles & 50–950 ramp

primary
#D993FB
secondary
#E0F6D5
accent
#E6004B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D993FB

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

Preview Lab → · Contrast checker → · Palette generator →

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