#D152D7#D152D7

#D152D7 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.221 H 325.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D152D7
RGBrgb(209, 82, 215)
HSLhsl(297, 62%, 58%)
HSVhsv(297, 62%, 84%)
CMYKcmyk(2.8%, 61.9%, 0%, 15.7%)
CIE-LABlab(56.58, 66.69, -44.81)
CIE-LCHlch(56.58, 80.35, 326.10°)
OKLaboklab(65.42% 0.1833 -0.1241)
OKLCHoklch(65.42% 0.221 325.9)
XYZxyz(41.5767, 24.4987, 66.8156)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152D7 #58D752
analogous
#8E52D7 #D152D7 #D7529A
triadic
#D152D7 #D7D152 #52D7D1
tetradic
#D152D7 #D78E52 #58D752 #529AD7
square
#D152D7 #D78E52 #58D752 #529AD7
split-complementary
#D152D7 #9AD752 #52D78E
monochromatic
#89218E #B92CC0 #D152D7 #DE84E2 #EBB5EE

Accessibility & contrast

On white

3.56
#D152D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D152D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152D7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152D7#FFFFFF#000000##000000
##D152D71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDB
Deuteranopia (green-blind)
#6D8DD3
Tritanopia (blue-blind)
#D6658D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d152d7;
/* rgb */ color: rgb(209, 82, 215);
/* oklch */ color: oklch(65.4% 0.221 325.9);
Tailwind
colors: {
  custom: {
    50: '#e28be4',
    500: '#d152d7',
    950: '#000000',
  },
}
SCSS
$custom: #d152d7;
$custom-light: #e28be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d152d7",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 297.293,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65416,
    "c": 0.22133,
    "h": 325.9
  },
  "luminance": 0.24496
}

Semantic roles & 50–950 ramp

primary
#D152D7
secondary
#AADDA8
accent
#E6424A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D15
muted
#847D84

Preview Lab

Preview with #D152D7

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

Preview Lab → · Contrast checker → · Palette generator →

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