#D94DEC#D94DEC

#D94DEC is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.1% C 0.249 H 322.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D94DEC
RGBrgb(217, 77, 236)
HSLhsl(293, 81%, 61%)
HSVhsv(293, 67%, 93%)
CMYKcmyk(8.1%, 67.4%, 0%, 7.5%)
CIE-LABlab(58.15, 74.11, -54.07)
CIE-LCHlch(58.15, 91.74, 323.89°)
OKLaboklab(67.14% 0.1979 -0.1508)
OKLCHoklch(67.14% 0.249 322.7)
XYZxyz(46.4080, 26.1182, 81.9375)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94DEC #60EC4D
analogous
#8A4DEC #D94DEC #EC4DB0
triadic
#D94DEC #ECD94D #4DECD9
tetradic
#D94DEC #EC8A4D #60EC4D #4DB0EC
square
#D94DEC #EC8A4D #60EC4D #4DB0EC
split-complementary
#D94DEC #B0EC4D #4DEC8A
monochromatic
#9A12AC #CB18E4 #D94DEC #E584F2 #F1BCF8

Accessibility & contrast

On white

3.37
#D94DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#D94DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94DEC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94DEC#FFFFFF#000000##000000
##D94DEC1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F1
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#DC6897
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d94dec;
/* rgb */ color: rgb(217, 77, 236);
/* oklch */ color: oklch(67.1% 0.249 322.7);
Tailwind
colors: {
  custom: {
    50: '#e98af3',
    500: '#d94dec',
    950: '#000000',
  },
}
SCSS
$custom: #d94dec;
$custom-light: #e98af3;
$custom-dark: #000000;
JSON
{
  "hex": "#d94dec",
  "rgb": {
    "r": 217,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 292.83,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67137,
    "c": 0.24876,
    "h": 322.7
  },
  "luminance": 0.26116
}

Semantic roles & 50–950 ramp

primary
#D94DEC
secondary
#B4E8AD
accent
#DD0822
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170D17
muted
#857D85

Preview Lab

Preview with #D94DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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