#D993FD#D993FD

#D993FD is a light, vivid violet. Relative luminance 0.427; OKLCH L 77.1% C 0.162 H 313.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#D993FD
RGBrgb(217, 147, 253)
HSLhsl(280, 96%, 78%)
HSVhsv(280, 42%, 99%)
CMYKcmyk(14.2%, 41.9%, 0%, 0.8%)
CIE-LABlab(71.36, 44.54, -42.59)
CIE-LCHlch(71.36, 61.63, 316.29°)
OKLaboklab(77.12% 0.1116 -0.1179)
OKLCHoklch(77.12% 0.162 313.4)
XYZxyz(56.7757, 42.7122, 98.1629)
Luminance0.4271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993FD #B7FD93
analogous
#A493FD #D993FD #FD93EC
triadic
#D993FD #FDD993 #93FDD9
tetradic
#D993FD #FDA493 #B7FD93 #93ECFD
square
#D993FD #FDA493 #B7FD93 #93ECFD
split-complementary
#D993FD #ECFD93 #93FDA4
monochromatic
#AF1BFB #C457FC #D993FD #EECFFE #F4E1FE

Accessibility & contrast

On white

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

On black

9.54
#D993FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993FD
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993FD#FFFFFF#000000##000000
##D993FD1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d993fd;
/* rgb */ color: rgb(217, 147, 253);
/* oklch */ color: oklch(77.1% 0.162 313.4);
Tailwind
colors: {
  custom: {
    50: '#e6b4fe',
    500: '#d993fd',
    950: '#000000',
  },
}
SCSS
$custom: #d993fd;
$custom-light: #e6b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d993fd",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 253
  },
  "hsl": {
    "h": 279.623,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77121,
    "c": 0.16236,
    "h": 313.4
  },
  "luminance": 0.42711
}

Semantic roles & 50–950 ramp

primary
#D993FD
secondary
#E0F7D4
accent
#E6004E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D993FD

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

Preview Lab → · Contrast checker → · Palette generator →

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