#D351D4#D351D4

#D351D4 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.221 H 327.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D351D4
RGBrgb(211, 81, 212)
HSLhsl(300, 60%, 57%)
HSVhsv(300, 62%, 83%)
CMYKcmyk(0.5%, 61.8%, 0%, 16.9%)
CIE-LABlab(56.58, 67.07, -43.10)
CIE-LCHlch(56.58, 79.73, 327.27°)
OKLaboklab(65.42% 0.1864 -0.1191)
OKLCHoklch(65.42% 0.221 327.4)
XYZxyz(41.6894, 24.4899, 64.8058)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351D4 #52D451
analogous
#9251D4 #D351D4 #D45194
triadic
#D351D4 #D4D351 #51D4D3
tetradic
#D351D4 #D49251 #52D451 #5194D4
square
#D351D4 #D49251 #52D451 #5194D4
split-complementary
#D351D4 #94D451 #51D492
monochromatic
#882289 #B92EBA #D351D4 #DF82E0 #ECB3EC

Accessibility & contrast

On white

3.56
#D351D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D351D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351D4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351D4#FFFFFF#000000##000000
##D351D41.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407DD8
Deuteranopia (green-blind)
#6F8ED0
Tritanopia (blue-blind)
#D9628B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d351d4;
/* rgb */ color: rgb(211, 81, 212);
/* oklch */ color: oklch(65.4% 0.221 327.4);
Tailwind
colors: {
  custom: {
    50: '#e48ae2',
    500: '#d351d4',
    950: '#000000',
  },
}
SCSS
$custom: #d351d4;
$custom-light: #e48ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d351d4",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 299.542,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65419,
    "c": 0.22122,
    "h": 327.4
  },
  "luminance": 0.24487
}

Semantic roles & 50–950 ramp

primary
#D351D4
secondary
#A6DBA6
accent
#E44446
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D351D4

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

Preview Lab → · Contrast checker → · Palette generator →

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