#D152D8#D152D8

#D152D8 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.222 H 325.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D152D8
RGBrgb(209, 82, 216)
HSLhsl(297, 63%, 58%)
HSVhsv(297, 62%, 85%)
CMYKcmyk(3.2%, 62%, 0%, 15.3%)
CIE-LABlab(56.63, 66.87, -45.30)
CIE-LCHlch(56.63, 80.76, 325.88°)
OKLaboklab(65.47% 0.1833 -0.1255)
OKLCHoklch(65.47% 0.222 325.6)
XYZxyz(41.7056, 24.5503, 67.4944)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152D8 #59D852
analogous
#8E52D8 #D152D8 #D8529C
triadic
#D152D8 #D8D152 #52D8D1
tetradic
#D152D8 #D88E52 #59D852 #529CD8
square
#D152D8 #D88E52 #59D852 #529CD8
split-complementary
#D152D8 #9CD852 #52D88E
monochromatic
#89208F #B92CC1 #D152D8 #DE84E3 #ECB6EF

Accessibility & contrast

On white

3.55
#D152D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D152D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152D8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152D8#FFFFFF#000000##000000
##D152D81.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDC
Deuteranopia (green-blind)
#6C8DD4
Tritanopia (blue-blind)
#D6658E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d152d8;
/* rgb */ color: rgb(209, 82, 216);
/* oklch */ color: oklch(65.5% 0.222 325.6);
Tailwind
colors: {
  custom: {
    50: '#e28be4',
    500: '#d152d8',
    950: '#000000',
  },
}
SCSS
$custom: #d152d8;
$custom-light: #e28be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d152d8",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 296.866,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6547,
    "c": 0.22216,
    "h": 325.6
  },
  "luminance": 0.24548
}

Semantic roles & 50–950 ramp

primary
#D152D8
secondary
#ABDDA8
accent
#E6424A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D152D8

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

Preview Lab → · Contrast checker → · Palette generator →

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