#D152CD#D152CD

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

Color values

HEX#D152CD
RGBrgb(209, 82, 205)
HSLhsl(302, 58%, 57%)
HSVhsv(302, 61%, 82%)
CMYKcmyk(0%, 60.8%, 1.9%, 18%)
CIE-LABlab(56.09, 65.00, -39.91)
CIE-LCHlch(56.09, 76.27, 328.45°)
OKLaboklab(64.9% 0.1826 -0.1099)
OKLCHoklch(64.9% 0.213 329)
XYZxyz(40.3308, 24.0004, 60.2541)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152CD #52D156
analogous
#9652D1 #D152CD #D1528D
triadic
#D152CD #CDD152 #52CDD1
tetradic
#D152CD #D19652 #52D156 #528DD1
square
#D152CD #D19652 #52D156 #528DD1
split-complementary
#D152CD #8DD152 #52D196
monochromatic
#852382 #B630B1 #D152CD #DE82DB #EBB3E9

Accessibility & contrast

On white

3.62
#D152CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D152CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152CD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152CD#FFFFFF#000000##000000
##D152CD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#728CCA
Tritanopia (blue-blind)
#D86188
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d152cd;
/* rgb */ color: rgb(209, 82, 205);
/* oklch */ color: oklch(64.9% 0.213 329.0);
Tailwind
colors: {
  custom: {
    50: '#e28adc',
    500: '#d152cd',
    950: '#000000',
  },
}
SCSS
$custom: #d152cd;
$custom-light: #e28adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d152cd",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 301.89,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64896,
    "c": 0.21311,
    "h": 329
  },
  "luminance": 0.23998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D152CD

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

Preview Lab → · Contrast checker → · Palette generator →

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