#D351CB#D351CB

#D351CB is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.214 H 330.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#D351CB
RGBrgb(211, 81, 203)
HSLhsl(304, 60%, 57%)
HSVhsv(304, 62%, 83%)
CMYKcmyk(0%, 61.6%, 3.8%, 17.3%)
CIE-LABlab(56.14, 65.58, -38.67)
CIE-LCHlch(56.14, 76.14, 329.47°)
OKLaboklab(64.96% 0.1857 -0.1063)
OKLCHoklch(64.96% 0.214 330.2)
XYZxyz(40.5856, 24.0484, 58.9925)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351CB #51D359
analogous
#9A51D3 #D351CB #D3518A
triadic
#D351CB #CBD351 #51CBD3
tetradic
#D351CB #D39A51 #51D359 #518AD3
square
#D351CB #D39A51 #51D359 #518AD3
split-complementary
#D351CB #8AD351 #51D39A
monochromatic
#872281 #B82FB0 #D351CB #DF82DA #ECB3E8

Accessibility & contrast

On white

3.61
#D351CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#D351CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351CB#FFFFFF#000000##000000
##D351CB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#DB5F87
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d351cb;
/* rgb */ color: rgb(211, 81, 203);
/* oklch */ color: oklch(65.0% 0.214 330.2);
Tailwind
colors: {
  custom: {
    50: '#e48adb',
    500: '#d351cb',
    950: '#000000',
  },
}
SCSS
$custom: #d351cb;
$custom-light: #e48adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d351cb",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 303.692,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64958,
    "c": 0.21399,
    "h": 330.2
  },
  "luminance": 0.24046
}

Semantic roles & 50–950 ramp

primary
#D351CB
secondary
#A6DAA9
accent
#E34F45
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D351CB

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

Preview Lab → · Contrast checker → · Palette generator →

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