#D992EC#D992EC

#D992EC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.2% C 0.145 H 319.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#D992EC
RGBrgb(217, 146, 236)
HSLhsl(287, 70%, 75%)
HSVhsv(287, 38%, 93%)
CMYKcmyk(8.1%, 38.1%, 0%, 7.5%)
CIE-LABlab(70.43, 41.65, -34.76)
CIE-LCHlch(70.43, 54.24, 320.15°)
OKLaboklab(76.19% 0.1097 -0.0954)
OKLCHoklch(76.19% 0.145 319)
XYZxyz(54.0325, 41.3672, 84.4790)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D992EC #A5EC92
analogous
#AC92EC #D992EC #EC92D2
triadic
#D992EC #ECD992 #92ECD9
tetradic
#D992EC #ECAC92 #A5EC92 #92D2EC
square
#D992EC #ECAC92 #A5EC92 #92D2EC
split-complementary
#D992EC #D2EC92 #92ECAC
monochromatic
#B52ADA #C75EE3 #D992EC #EBC6F5 #F6E5FA

Accessibility & contrast

On white

2.26
#D992EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#D992EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D992EC
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D992EC#FFFFFF#000000##000000
##D992EC1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#97AFE9
Tritanopia (blue-blind)
#DA9DB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d992ec;
/* rgb */ color: rgb(217, 146, 236);
/* oklch */ color: oklch(76.2% 0.145 319.0);
Tailwind
colors: {
  custom: {
    50: '#e6b3f2',
    500: '#d992ec',
    950: '#000000',
  },
}
SCSS
$custom: #d992ec;
$custom-light: #e6b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d992ec",
  "rgb": {
    "r": 217,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 287.333,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7619,
    "c": 0.14541,
    "h": 319
  },
  "luminance": 0.41366
}

Semantic roles & 50–950 ramp

primary
#D992EC
secondary
#DEF2D9
accent
#D2133C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D992EC

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

Preview Lab → · Contrast checker → · Palette generator →

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