#D152D5#D152D5

#D152D5 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.3% C 0.220 H 326.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#D152D5
RGBrgb(209, 82, 213)
HSLhsl(298, 61%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(1.9%, 61.5%, 0%, 16.5%)
CIE-LABlab(56.48, 66.35, -43.84)
CIE-LCHlch(56.48, 79.52, 326.55°)
OKLaboklab(65.31% 0.1832 -0.1212)
OKLCHoklch(65.31% 0.22 326.5)
XYZxyz(41.3213, 24.3966, 65.4704)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152D5 #56D552
analogous
#8F52D5 #D152D5 #D55297
triadic
#D152D5 #D5D152 #52D5D1
tetradic
#D152D5 #D58F52 #56D552 #5297D5
square
#D152D5 #D58F52 #56D552 #5297D5
split-complementary
#D152D5 #97D552 #52D58F
monochromatic
#88228B #B82EBC #D152D5 #DE83E1 #EBB4ED

Accessibility & contrast

On white

3.57
#D152D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D152D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152D5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152D5#FFFFFF#000000##000000
##D152D51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DD9
Deuteranopia (green-blind)
#6E8DD1
Tritanopia (blue-blind)
#D6648C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d152d5;
/* rgb */ color: rgb(209, 82, 213);
/* oklch */ color: oklch(65.3% 0.220 326.5);
Tailwind
colors: {
  custom: {
    50: '#e28be2',
    500: '#d152d5',
    950: '#000000',
  },
}
SCSS
$custom: #d152d5;
$custom-light: #e28be2;
$custom-dark: #000000;
JSON
{
  "hex": "#d152d5",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 298.168,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6531,
    "c": 0.21967,
    "h": 326.5
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

primary
#D152D5
secondary
#A9DCA7
accent
#E44449
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152D5

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

Preview Lab → · Contrast checker → · Palette generator →

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