#D152CF#D152CF

#D152CF is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.0% C 0.215 H 328.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#D152CF
RGBrgb(209, 82, 207)
HSLhsl(301, 58%, 57%)
HSVhsv(301, 61%, 82%)
CMYKcmyk(0%, 60.8%, 1%, 18%)
CIE-LABlab(56.19, 65.33, -40.90)
CIE-LCHlch(56.19, 77.08, 327.96°)
OKLaboklab(65% 0.1828 -0.1127)
OKLCHoklch(65% 0.215 328.3)
XYZxyz(40.5738, 24.0976, 61.5336)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152CF #52D154
analogous
#9452D1 #D152CF #D15290
triadic
#D152CF #CFD152 #52CFD1
tetradic
#D152CF #D19452 #52D154 #5290D1
square
#D152CF #D19452 #52D154 #5290D1
split-complementary
#D152CF #90D152 #52D194
monochromatic
#852384 #B630B3 #D152CF #DE82DC #EBB3EA

Accessibility & contrast

On white

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

On black

5.82
#D152CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152CF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152CF#FFFFFF#000000##000000
##D152CF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#718DCC
Tritanopia (blue-blind)
#D76189
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d152cf;
/* rgb */ color: rgb(209, 82, 207);
/* oklch */ color: oklch(65.0% 0.215 328.3);
Tailwind
colors: {
  custom: {
    50: '#e28bde',
    500: '#d152cf',
    950: '#000000',
  },
}
SCSS
$custom: #d152cf;
$custom-light: #e28bde;
$custom-dark: #000000;
JSON
{
  "hex": "#d152cf",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 300.945,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64998,
    "c": 0.21473,
    "h": 328.3
  },
  "luminance": 0.24095
}

Semantic roles & 50–950 ramp

primary
#D152CF
secondary
#A6D9A6
accent
#E14947
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152CF

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

Preview Lab → · Contrast checker → · Palette generator →

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