#D993FF#D993FF

#D993FF is a light, vivid violet. Relative luminance 0.428; OKLCH L 77.2% C 0.165 H 312.9°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#D993FF
RGBrgb(217, 147, 255)
HSLhsl(279, 100%, 79%)
HSVhsv(279, 42%, 100%)
CMYKcmyk(14.9%, 42.4%, 0%, 0%)
CIE-LABlab(71.45, 44.96, -43.54)
CIE-LCHlch(71.45, 62.59, 315.92°)
OKLaboklab(77.22% 0.112 -0.1206)
OKLCHoklch(77.22% 0.165 312.9)
XYZxyz(57.0960, 42.8403, 99.8496)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D993FF #B9FF93
analogous
#A393FF #D993FF #FF93EF
triadic
#D993FF #FFD993 #93FFD9
tetradic
#D993FF #FFA393 #B9FF93 #93EFFF
square
#D993FF #FFA393 #B9FF93 #93EFFF
split-complementary
#D993FF #EFFF93 #93FFA3
monochromatic
#AE19FF #C356FF #D993FF #EFD0FF #F4E0FF

Accessibility & contrast

On white

2.19
#D993FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#D993FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D993FF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D993FF#FFFFFF#000000##000000
##D993FF1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#90B1FC
Tritanopia (blue-blind)
#D6A3BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d993ff;
/* rgb */ color: rgb(217, 147, 255);
/* oklch */ color: oklch(77.2% 0.165 312.9);
Tailwind
colors: {
  custom: {
    50: '#e6b4ff',
    500: '#d993ff',
    950: '#000000',
  },
}
SCSS
$custom: #d993ff;
$custom-light: #e6b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d993ff",
  "rgb": {
    "r": 217,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 278.889,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77215,
    "c": 0.16459,
    "h": 312.9
  },
  "luminance": 0.42839
}

Semantic roles & 50–950 ramp

primary
#D993FF
secondary
#E0F7D4
accent
#E60051
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D993FF

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

Preview Lab → · Contrast checker → · Palette generator →

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