#D152CE#D152CE

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

Color values

HEX#D152CE
RGBrgb(209, 82, 206)
HSLhsl(301, 58%, 57%)
HSVhsv(301, 61%, 82%)
CMYKcmyk(0%, 60.8%, 1.4%, 18%)
CIE-LABlab(56.14, 65.17, -40.40)
CIE-LCHlch(56.14, 76.68, 328.20°)
OKLaboklab(64.95% 0.1827 -0.1113)
OKLCHoklch(64.95% 0.214 328.6)
XYZxyz(40.4519, 24.0488, 60.8918)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152CE #52D155
analogous
#9452D1 #D152CE #D1528F
triadic
#D152CE #CED152 #52CED1
tetradic
#D152CE #D19452 #52D155 #528FD1
square
#D152CE #D19452 #52D155 #528FD1
split-complementary
#D152CE #8FD152 #52D194
monochromatic
#852383 #B630B2 #D152CE #DE82DC #EBB3E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D152CE#FFFFFF#000000##000000
##D152CE1.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)
#457CD2
Deuteranopia (green-blind)
#718DCB
Tritanopia (blue-blind)
#D86189
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d152ce;
/* rgb */ color: rgb(209, 82, 206);
/* oklch */ color: oklch(64.9% 0.214 328.6);
Tailwind
colors: {
  custom: {
    50: '#e28add',
    500: '#d152ce',
    950: '#000000',
  },
}
SCSS
$custom: #d152ce;
$custom-light: #e28add;
$custom-dark: #000000;
JSON
{
  "hex": "#d152ce",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 301.417,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64947,
    "c": 0.21392,
    "h": 328.6
  },
  "luminance": 0.24046
}

Semantic roles & 50–950 ramp

primary
#D152CE
secondary
#A6D9A7
accent
#E14A47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152CE

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

Preview Lab → · Contrast checker → · Palette generator →

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