#D351DF#D351DF

#D351DF is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.0% C 0.230 H 324.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#D351DF
RGBrgb(211, 81, 223)
HSLhsl(295, 69%, 60%)
HSVhsv(295, 64%, 87%)
CMYKcmyk(5.4%, 63.7%, 0%, 12.5%)
CIE-LABlab(57.14, 68.96, -48.44)
CIE-LCHlch(57.14, 84.27, 324.92°)
OKLaboklab(66.01% 0.1869 -0.1345)
OKLCHoklch(66.01% 0.23 324.3)
XYZxyz(43.1245, 25.0640, 72.3641)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351DF #5DDF51
analogous
#8C51DF #D351DF #DF51A4
triadic
#D351DF #DFD351 #51DFD3
tetradic
#D351DF #DF8C51 #5DDF51 #51A4DF
square
#D351DF #DF8C51 #5DDF51 #51A4DF
split-complementary
#D351DF #A4DF51 #51DF8C
monochromatic
#8F1C99 #BF26CD #D351DF #E085E9 #EDB8F2

Accessibility & contrast

On white

3.49
#D351DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#D351DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351DF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351DF#FFFFFF#000000##000000
##D351DF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#698FDB
Tritanopia (blue-blind)
#D76791
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d351df;
/* rgb */ color: rgb(211, 81, 223);
/* oklch */ color: oklch(66.0% 0.230 324.3);
Tailwind
colors: {
  custom: {
    50: '#e48be9',
    500: '#d351df',
    950: '#000000',
  },
}
SCSS
$custom: #d351df;
$custom-light: #e48be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d351df",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 294.93,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66009,
    "c": 0.23031,
    "h": 324.3
  },
  "luminance": 0.25061
}

Semantic roles & 50–950 ramp

primary
#D351DF
secondary
#AFE1AA
accent
#EC3C4B
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D351DF

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

Preview Lab → · Contrast checker → · Palette generator →

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