#D152E1#D152E1

#D152E1 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.0% C 0.230 H 323.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#D152E1
RGBrgb(209, 82, 225)
HSLhsl(293, 70%, 60%)
HSVhsv(293, 64%, 88%)
CMYKcmyk(7.1%, 63.6%, 0%, 11.8%)
CIE-LABlab(57.10, 68.44, -49.64)
CIE-LCHlch(57.10, 84.55, 324.05°)
OKLaboklab(65.96% 0.1836 -0.1381)
OKLCHoklch(65.96% 0.23 323.1)
XYZxyz(42.9011, 25.0285, 73.7908)
Luminance0.2503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152E1 #62E152
analogous
#8A52E1 #D152E1 #E152A9
triadic
#D152E1 #E1D152 #52E1D1
tetradic
#D152E1 #E18A52 #62E152 #52A9E1
square
#D152E1 #E18A52 #62E152 #52A9E1
split-complementary
#D152E1 #A9E152 #52E18A
monochromatic
#8F1B9D #BE24D1 #D152E1 #DF86EA #EDBAF3

Accessibility & contrast

On white

3.50
#D152E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#D152E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152E1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152E1#FFFFFF#000000##000000
##D152E11.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E5
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#D46893
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d152e1;
/* rgb */ color: rgb(209, 82, 225);
/* oklch */ color: oklch(66.0% 0.230 323.1);
Tailwind
colors: {
  custom: {
    50: '#e38beb',
    500: '#d152e1',
    950: '#000000',
  },
}
SCSS
$custom: #d152e1;
$custom-light: #e38beb;
$custom-dark: #000000;
JSON
{
  "hex": "#d152e1",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 293.287,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65961,
    "c": 0.22976,
    "h": 323.1
  },
  "luminance": 0.25026
}

Semantic roles & 50–950 ramp

primary
#D152E1
secondary
#B2E3AC
accent
#D21328
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D152E1

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

Preview Lab → · Contrast checker → · Palette generator →

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