#D051D8#D051D8

#D051D8 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.223 H 325.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D051D8
RGBrgb(208, 81, 216)
HSLhsl(296, 63%, 58%)
HSVhsv(296, 63%, 85%)
CMYKcmyk(3.7%, 62.5%, 0%, 15.3%)
CIE-LABlab(56.34, 67.04, -45.77)
CIE-LCHlch(56.34, 81.17, 325.68°)
OKLaboklab(65.23% 0.1834 -0.1269)
OKLCHoklch(65.23% 0.223 325.3)
XYZxyz(41.3486, 24.2551, 67.4562)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051D8 #59D851
analogous
#8C51D8 #D051D8 #D8519D
triadic
#D051D8 #D8D051 #51D8D0
tetradic
#D051D8 #D88C51 #59D851 #519DD8
square
#D051D8 #D88C51 #59D851 #519DD8
split-complementary
#D051D8 #9DD851 #51D88C
monochromatic
#88208F #B82BC1 #D051D8 #DE83E3 #EBB5EE

Accessibility & contrast

On white

3.59
#D051D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D051D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051D8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051D8#FFFFFF#000000##000000
##D051D81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDC
Deuteranopia (green-blind)
#6B8DD4
Tritanopia (blue-blind)
#D5648E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d051d8;
/* rgb */ color: rgb(208, 81, 216);
/* oklch */ color: oklch(65.2% 0.223 325.3);
Tailwind
colors: {
  custom: {
    50: '#e28ae4',
    500: '#d051d8',
    950: '#000000',
  },
}
SCSS
$custom: #d051d8;
$custom-light: #e28ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d051d8",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 296.444,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65229,
    "c": 0.22298,
    "h": 325.3
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#D051D8
secondary
#ABDDA8
accent
#E6414B
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D051D8

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

Preview Lab → · Contrast checker → · Palette generator →

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