#D351D8#D351D8

#D351D8 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.225 H 326.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D351D8
RGBrgb(211, 81, 216)
HSLhsl(298, 63%, 58%)
HSVhsv(298, 63%, 85%)
CMYKcmyk(2.3%, 62.5%, 0%, 15.3%)
CIE-LABlab(56.78, 67.75, -45.05)
CIE-LCHlch(56.78, 81.36, 326.38°)
OKLaboklab(65.63% 0.1867 -0.1247)
OKLCHoklch(65.63% 0.225 326.3)
XYZxyz(42.2003, 24.6942, 67.4962)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351D8 #56D851
analogous
#8F51D8 #D351D8 #D85199
triadic
#D351D8 #D8D351 #51D8D3
tetradic
#D351D8 #D88F51 #56D851 #5199D8
square
#D351D8 #D88F51 #56D851 #5199D8
split-complementary
#D351D8 #99D851 #51D88F
monochromatic
#8B208F #BB2BC1 #D351D8 #E083E3 #ECB5EE

Accessibility & contrast

On white

3.54
#D351D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D351D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351D8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351D8#FFFFFF#000000##000000
##D351D81.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDC
Deuteranopia (green-blind)
#6D8ED4
Tritanopia (blue-blind)
#D8648E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d351d8;
/* rgb */ color: rgb(211, 81, 216);
/* oklch */ color: oklch(65.6% 0.225 326.3);
Tailwind
colors: {
  custom: {
    50: '#e48ae4',
    500: '#d351d8',
    950: '#000000',
  },
}
SCSS
$custom: #d351d8;
$custom-light: #e48ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d351d8",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 297.778,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65631,
    "c": 0.2245,
    "h": 326.3
  },
  "luminance": 0.24692
}

Semantic roles & 50–950 ramp

primary
#D351D8
secondary
#AADDA8
accent
#E64147
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D351D8

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

Preview Lab → · Contrast checker → · Palette generator →

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