#D351D7#D351D7

#D351D7 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.6% C 0.224 H 326.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#D351D7
RGBrgb(211, 81, 215)
HSLhsl(298, 63%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(1.9%, 62.3%, 0%, 15.7%)
CIE-LABlab(56.73, 67.58, -44.57)
CIE-LCHlch(56.73, 80.95, 326.60°)
OKLaboklab(65.58% 0.1866 -0.1233)
OKLCHoklch(65.58% 0.224 326.5)
XYZxyz(42.0714, 24.6427, 66.8174)
Luminance0.2464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351D7 #55D751
analogous
#9051D7 #D351D7 #D75198
triadic
#D351D7 #D7D351 #51D7D3
tetradic
#D351D7 #D79051 #55D751 #5198D7
square
#D351D7 #D79051 #55D751 #5198D7
split-complementary
#D351D7 #98D751 #51D790
monochromatic
#8A208D #BB2CBF #D351D7 #E083E2 #ECB5EE

Accessibility & contrast

On white

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

On black

5.93
#D351D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351D7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351D7#FFFFFF#000000##000000
##D351D71.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDB
Deuteranopia (green-blind)
#6E8ED3
Tritanopia (blue-blind)
#D8638D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d351d7;
/* rgb */ color: rgb(211, 81, 215);
/* oklch */ color: oklch(65.6% 0.224 326.5);
Tailwind
colors: {
  custom: {
    50: '#e48ae4',
    500: '#d351d7',
    950: '#000000',
  },
}
SCSS
$custom: #d351d7;
$custom-light: #e48ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d351d7",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 298.209,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65577,
    "c": 0.22367,
    "h": 326.5
  },
  "luminance": 0.2464
}

Semantic roles & 50–950 ramp

primary
#D351D7
secondary
#A9DDA7
accent
#E64247
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D351D7

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

Preview Lab → · Contrast checker → · Palette generator →

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