#D152D6#D152D6

#D152D6 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.221 H 326.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#D152D6
RGBrgb(209, 82, 214)
HSLhsl(298, 62%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(2.3%, 61.7%, 0%, 16.1%)
CIE-LABlab(56.53, 66.52, -44.32)
CIE-LCHlch(56.53, 79.94, 326.32°)
OKLaboklab(65.36% 0.1832 -0.1227)
OKLCHoklch(65.36% 0.221 326.2)
XYZxyz(41.4486, 24.4475, 66.1410)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152D6 #57D652
analogous
#8F52D6 #D152D6 #D65299
triadic
#D152D6 #D6D152 #52D6D1
tetradic
#D152D6 #D68F52 #57D652 #5299D6
square
#D152D6 #D68F52 #57D652 #5299D6
split-complementary
#D152D6 #99D652 #52D68F
monochromatic
#88218C #B82DBE #D152D6 #DE83E2 #EBB5ED

Accessibility & contrast

On white

3.57
#D152D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#D152D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152D6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152D6#FFFFFF#000000##000000
##D152D61.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DDA
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#D6648D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d152d6;
/* rgb */ color: rgb(209, 82, 214);
/* oklch */ color: oklch(65.4% 0.221 326.2);
Tailwind
colors: {
  custom: {
    50: '#e28be3',
    500: '#d152d6',
    950: '#000000',
  },
}
SCSS
$custom: #d152d6;
$custom-light: #e28be3;
$custom-dark: #000000;
JSON
{
  "hex": "#d152d6",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 297.727,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65363,
    "c": 0.2205,
    "h": 326.2
  },
  "luminance": 0.24445
}

Semantic roles & 50–950 ramp

primary
#D152D6
secondary
#AADCA8
accent
#E54349
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D152D6

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

Preview Lab → · Contrast checker → · Palette generator →

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