#D946DC#D946DC

#D946DC is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.6% C 0.244 H 327.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#D946DC
RGBrgb(217, 70, 220)
HSLhsl(299, 68%, 57%)
HSVhsv(299, 68%, 86%)
CMYKcmyk(1.4%, 68.2%, 0%, 13.7%)
CIE-LABlab(56.39, 73.95, -47.87)
CIE-LCHlch(56.39, 88.10, 327.08°)
OKLaboklab(65.6% 0.2049 -0.1327)
OKLCHoklch(65.6% 0.244 327.1)
XYZxyz(43.7230, 24.3023, 70.0842)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D946DC #49DC46
analogous
#8E46DC #D946DC #DC4694
triadic
#D946DC #DCD946 #46DCD9
tetradic
#D946DC #DC8E46 #49DC46 #4694DC
square
#D946DC #DC8E46 #49DC46 #4694DC
split-complementary
#D946DC #94DC46 #46DC8E
monochromatic
#8B1B8D #BD24C0 #D946DC #E479E6 #EEADEF

Accessibility & contrast

On white

3.58
#D946DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#D946DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D946DC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D946DC#FFFFFF#000000##000000
##D946DC1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BE0
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#DF5D8C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d946dc;
/* rgb */ color: rgb(217, 70, 220);
/* oklch */ color: oklch(65.6% 0.244 327.1);
Tailwind
colors: {
  custom: {
    50: '#e986e7',
    500: '#d946dc',
    950: '#000000',
  },
}
SCSS
$custom: #d946dc;
$custom-light: #e986e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d946dc",
  "rgb": {
    "r": 217,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 298.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65595,
    "c": 0.24411,
    "h": 327.1
  },
  "luminance": 0.24299
}

Semantic roles & 50–950 ramp

primary
#D946DC
secondary
#A2DDA0
accent
#EB3D40
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D946DC

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

Preview Lab → · Contrast checker → · Palette generator →

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