#D946D7#D946D7

#D946D7 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.3% C 0.240 H 328.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#D946D7
RGBrgb(217, 70, 215)
HSLhsl(301, 66%, 56%)
HSVhsv(301, 68%, 85%)
CMYKcmyk(0%, 67.7%, 0.9%, 14.9%)
CIE-LABlab(56.13, 73.15, -45.45)
CIE-LCHlch(56.13, 86.12, 328.14°)
OKLaboklab(65.32% 0.2048 -0.1257)
OKLCHoklch(65.32% 0.24 328.5)
XYZxyz(43.0707, 24.0414, 66.6487)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D946D7 #46D948
analogous
#9246D9 #D946D7 #D9468E
triadic
#D946D7 #D7D946 #46D7D9
tetradic
#D946D7 #D99246 #46D948 #468ED9
square
#D946D7 #D99246 #46D948 #468ED9
split-complementary
#D946D7 #8ED946 #46D992
monochromatic
#891C87 #BB26B9 #D946D7 #E379E2 #EEACED

Accessibility & contrast

On white

3.62
#D946D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#D946D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D946D7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D946D7#FFFFFF#000000##000000
##D946D71.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#317ADB
Deuteranopia (green-blind)
#6D8DD3
Tritanopia (blue-blind)
#E05A89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d946d7;
/* rgb */ color: rgb(217, 70, 215);
/* oklch */ color: oklch(65.3% 0.240 328.5);
Tailwind
colors: {
  custom: {
    50: '#e986e4',
    500: '#d946d7',
    950: '#000000',
  },
}
SCSS
$custom: #d946d7;
$custom-light: #e986e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d946d7",
  "rgb": {
    "r": 217,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 300.816,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65324,
    "c": 0.24028,
    "h": 328.5
  },
  "luminance": 0.24038
}

Semantic roles & 50–950 ramp

primary
#D946D7
secondary
#9FDCA0
accent
#E9413F
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #D946D7

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

Preview Lab → · Contrast checker → · Palette generator →

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