#D152CA#D152CA

#D152CA is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.211 H 329.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D152CA
RGBrgb(209, 82, 202)
HSLhsl(303, 58%, 57%)
HSVhsv(303, 61%, 82%)
CMYKcmyk(0%, 60.8%, 3.3%, 18%)
CIE-LABlab(55.94, 64.50, -38.42)
CIE-LCHlch(55.94, 75.08, 329.22°)
OKLaboklab(64.74% 0.1823 -0.1056)
OKLCHoklch(64.74% 0.211 329.9)
XYZxyz(39.9722, 23.8569, 58.3652)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152CA #52D159
analogous
#9952D1 #D152CA #D1528B
triadic
#D152CA #CAD152 #52CAD1
tetradic
#D152CA #D19952 #52D159 #528BD1
square
#D152CA #D19952 #52D159 #528BD1
split-complementary
#D152CA #8BD152 #52D199
monochromatic
#852380 #B630AE #D152CA #DE82D9 #EBB3E8

Accessibility & contrast

On white

3.64
#D152CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D152CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152CA#FFFFFF#000000##000000
##D152CA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#738CC7
Tritanopia (blue-blind)
#D86087
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d152ca;
/* rgb */ color: rgb(209, 82, 202);
/* oklch */ color: oklch(64.7% 0.211 329.9);
Tailwind
colors: {
  custom: {
    50: '#e28ada',
    500: '#d152ca',
    950: '#000000',
  },
}
SCSS
$custom: #d152ca;
$custom-light: #e28ada;
$custom-dark: #000000;
JSON
{
  "hex": "#d152ca",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 303.307,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64744,
    "c": 0.2107,
    "h": 329.9
  },
  "luminance": 0.23854
}

Semantic roles & 50–950 ramp

primary
#D152CA
secondary
#A6D9A8
accent
#E14F47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152CA

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

Preview Lab → · Contrast checker → · Palette generator →

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