#D152E3#D152E3

#D152E3 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.1% C 0.231 H 322.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#D152E3
RGBrgb(209, 82, 227)
HSLhsl(293, 72%, 61%)
HSVhsv(293, 64%, 89%)
CMYKcmyk(7.9%, 63.9%, 0%, 11%)
CIE-LABlab(57.21, 68.80, -50.59)
CIE-LCHlch(57.21, 85.40, 323.67°)
OKLaboklab(66.07% 0.1837 -0.1409)
OKLCHoklch(66.07% 0.231 322.5)
XYZxyz(43.1755, 25.1383, 75.2361)
Luminance0.2514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152E3 #64E352
analogous
#8952E3 #D152E3 #E352AC
triadic
#D152E3 #E3D152 #52E3D1
tetradic
#D152E3 #E38952 #64E352 #52ACE3
square
#D152E3 #E38952 #64E352 #52ACE3
split-complementary
#D152E3 #ACE352 #52E389
monochromatic
#901AA1 #BF23D5 #D152E3 #DF87EC #EDBBF4

Accessibility & contrast

On white

3.48
#D152E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#D152E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152E3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152E3#FFFFFF#000000##000000
##D152E31.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E7
Deuteranopia (green-blind)
#668EDF
Tritanopia (blue-blind)
#D46994
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d152e3;
/* rgb */ color: rgb(209, 82, 227);
/* oklch */ color: oklch(66.1% 0.231 322.5);
Tailwind
colors: {
  custom: {
    50: '#e38bec',
    500: '#d152e3',
    950: '#000000',
  },
}
SCSS
$custom: #d152e3;
$custom-light: #e38bec;
$custom-dark: #000000;
JSON
{
  "hex": "#d152e3",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 292.552,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66072,
    "c": 0.23147,
    "h": 322.5
  },
  "luminance": 0.25136
}

Semantic roles & 50–950 ramp

primary
#D152E3
secondary
#B4E4AD
accent
#D41129
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D152E3

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

Preview Lab → · Contrast checker → · Palette generator →

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