#D994EC#D994EC

#D994EC is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.5% C 0.142 H 318.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#D994EC
RGBrgb(217, 148, 236)
HSLhsl(287, 70%, 75%)
HSVhsv(287, 37%, 93%)
CMYKcmyk(8.1%, 37.3%, 0%, 7.5%)
CIE-LABlab(70.86, 40.58, -34.09)
CIE-LCHlch(70.86, 53.00, 319.97°)
OKLaboklab(76.52% 0.1068 -0.0935)
OKLCHoklch(76.52% 0.142 318.8)
XYZxyz(54.3435, 41.9892, 84.5827)
Luminance0.4199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D994EC #A7EC94
analogous
#AD94EC #D994EC #EC94D3
triadic
#D994EC #ECD994 #94ECD9
tetradic
#D994EC #ECAD94 #A7EC94 #94D3EC
square
#D994EC #ECAD94 #A7EC94 #94D3EC
split-complementary
#D994EC #D3EC94 #94ECAD
monochromatic
#B42CDA #C760E3 #D994EC #EBC8F5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.40
#D994EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D994EC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D994EC#FFFFFF#000000##000000
##D994EC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#DA9FB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d994ec;
/* rgb */ color: rgb(217, 148, 236);
/* oklch */ color: oklch(76.5% 0.142 318.8);
Tailwind
colors: {
  custom: {
    50: '#e6b4f2',
    500: '#d994ec',
    950: '#000000',
  },
}
SCSS
$custom: #d994ec;
$custom-light: #e6b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d994ec",
  "rgb": {
    "r": 217,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 287.045,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76515,
    "c": 0.142,
    "h": 318.8
  },
  "luminance": 0.41988
}

Semantic roles & 50–950 ramp

primary
#D994EC
secondary
#DEF2D9
accent
#D2143D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D994EC

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

Preview Lab → · Contrast checker → · Palette generator →

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