#D351C7#D351C7

#D351C7 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.211 H 331.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D351C7
RGBrgb(211, 81, 199)
HSLhsl(306, 60%, 57%)
HSVhsv(306, 62%, 83%)
CMYKcmyk(0%, 61.6%, 5.7%, 17.3%)
CIE-LABlab(55.95, 64.93, -36.68)
CIE-LCHlch(55.95, 74.58, 330.54°)
OKLaboklab(64.76% 0.1853 -0.1006)
OKLCHoklch(64.76% 0.211 331.5)
XYZxyz(40.1151, 23.8602, 56.5144)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351C7 #51D35D
analogous
#9E51D3 #D351C7 #D35186
triadic
#D351C7 #C7D351 #51C7D3
tetradic
#D351C7 #D39E51 #51D35D #5186D3
square
#D351C7 #D39E51 #51D35D #5186D3
split-complementary
#D351C7 #86D351 #51D39E
monochromatic
#87227E #B82FAC #D351C7 #DF82D7 #ECB3E6

Accessibility & contrast

On white

3.64
#D351C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D351C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351C7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351C7#FFFFFF#000000##000000
##D351C71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACB
Deuteranopia (green-blind)
#768DC4
Tritanopia (blue-blind)
#DB5D85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d351c7;
/* rgb */ color: rgb(211, 81, 199);
/* oklch */ color: oklch(64.8% 0.211 331.5);
Tailwind
colors: {
  custom: {
    50: '#e48ad8',
    500: '#d351c7',
    950: '#000000',
  },
}
SCSS
$custom: #d351c7;
$custom-light: #e48ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#d351c7",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 305.538,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64759,
    "c": 0.21085,
    "h": 331.5
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#D351C7
secondary
#A6DAAA
accent
#E35445
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D351C7

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

Preview Lab → · Contrast checker → · Palette generator →

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