#D351C2#D351C2

#D351C2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.207 H 333.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D351C2
RGBrgb(211, 81, 194)
HSLhsl(308, 60%, 57%)
HSVhsv(308, 62%, 83%)
CMYKcmyk(0%, 61.6%, 8.1%, 17.3%)
CIE-LABlab(55.72, 64.14, -34.18)
CIE-LCHlch(55.72, 72.68, 331.95°)
OKLaboklab(64.52% 0.1847 -0.0934)
OKLCHoklch(64.52% 0.207 333.2)
XYZxyz(39.5441, 23.6318, 53.5071)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351C2 #51D362
analogous
#A351D3 #D351C2 #D35181
triadic
#D351C2 #C2D351 #51C2D3
tetradic
#D351C2 #D3A351 #51D362 #5181D3
square
#D351C2 #D3A351 #51D362 #5181D3
split-complementary
#D351C2 #81D351 #51D3A3
monochromatic
#87227A #B82FA6 #D351C2 #DF82D3 #ECB3E4

Accessibility & contrast

On white

3.67
#D351C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D351C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351C2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351C2#FFFFFF#000000##000000
##D351C21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#DC5B82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d351c2;
/* rgb */ color: rgb(211, 81, 194);
/* oklch */ color: oklch(64.5% 0.207 333.2);
Tailwind
colors: {
  custom: {
    50: '#e48ad5',
    500: '#d351c2',
    950: '#000000',
  },
}
SCSS
$custom: #d351c2;
$custom-light: #e48ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d351c2",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 307.846,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64516,
    "c": 0.20699,
    "h": 333.2
  },
  "luminance": 0.23629
}

Semantic roles & 50–950 ramp

primary
#D351C2
secondary
#A6DAAC
accent
#E35A45
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D351C2

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

Preview Lab → · Contrast checker → · Palette generator →

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