#D351DC#D351DC

#D351DC is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.228 H 325.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D351DC
RGBrgb(211, 81, 220)
HSLhsl(296, 67%, 59%)
HSVhsv(296, 63%, 86%)
CMYKcmyk(4.1%, 63.2%, 0%, 13.7%)
CIE-LABlab(56.98, 68.44, -46.99)
CIE-LCHlch(56.98, 83.02, 325.53°)
OKLaboklab(65.85% 0.1868 -0.1303)
OKLCHoklch(65.85% 0.228 325.1)
XYZxyz(42.7237, 24.9036, 70.2528)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351DC #5ADC51
analogous
#8E51DC #D351DC #DC51A0
triadic
#D351DC #DCD351 #51DCD3
tetradic
#D351DC #DC8E51 #5ADC51 #51A0DC
square
#D351DC #DC8E51 #5ADC51 #51A0DC
split-complementary
#D351DC #A0DC51 #51DC8E
monochromatic
#8D1E95 #BD28C8 #D351DC #E084E6 #EDB7F0

Accessibility & contrast

On white

3.51
#D351DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D351DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351DC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351DC#FFFFFF#000000##000000
##D351DC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#D86590
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d351dc;
/* rgb */ color: rgb(211, 81, 220);
/* oklch */ color: oklch(65.8% 0.228 325.1);
Tailwind
colors: {
  custom: {
    50: '#e48be7',
    500: '#d351dc',
    950: '#000000',
  },
}
SCSS
$custom: #d351dc;
$custom-light: #e48be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d351dc",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 296.115,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65845,
    "c": 0.22781,
    "h": 325.1
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#D351DC
secondary
#ADE0A9
accent
#E93E49
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D351DC

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

Preview Lab → · Contrast checker → · Palette generator →

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