#D351DB#D351DB

#D351DB is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.8% C 0.227 H 325.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D351DB
RGBrgb(211, 81, 219)
HSLhsl(297, 66%, 59%)
HSVhsv(297, 63%, 86%)
CMYKcmyk(3.7%, 63%, 0%, 14.1%)
CIE-LABlab(56.93, 68.27, -46.51)
CIE-LCHlch(56.93, 82.60, 325.73°)
OKLaboklab(65.79% 0.1868 -0.1289)
OKLCHoklch(65.79% 0.227 325.4)
XYZxyz(42.5916, 24.8508, 69.5574)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351DB #59DB51
analogous
#8E51DB #D351DB #DB519E
triadic
#D351DB #DBD351 #51DBD3
tetradic
#D351DB #DB8E51 #59DB51 #519EDB
square
#D351DB #DB8E51 #59DB51 #519EDB
split-complementary
#D351DB #9EDB51 #51DB8E
monochromatic
#8C1E93 #BD29C6 #D351DB #E084E5 #EDB6F0

Accessibility & contrast

On white

3.52
#D351DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D351DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351DB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351DB#FFFFFF#000000##000000
##D351DB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#6C8ED7
Tritanopia (blue-blind)
#D8658F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d351db;
/* rgb */ color: rgb(211, 81, 219);
/* oklch */ color: oklch(65.8% 0.227 325.4);
Tailwind
colors: {
  custom: {
    50: '#e48be7',
    500: '#d351db',
    950: '#000000',
  },
}
SCSS
$custom: #d351db;
$custom-light: #e48be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d351db",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 296.522,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65791,
    "c": 0.22698,
    "h": 325.4
  },
  "luminance": 0.24848
}

Semantic roles & 50–950 ramp

primary
#D351DB
secondary
#ACDFA9
accent
#E93F49
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D351DB

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

Preview Lab → · Contrast checker → · Palette generator →

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