#D452E1#D452E1

#D452E1 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.231 H 324.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D452E1
RGBrgb(212, 82, 225)
HSLhsl(295, 70%, 60%)
HSVhsv(295, 64%, 88%)
CMYKcmyk(5.8%, 63.6%, 0%, 11.8%)
CIE-LABlab(57.53, 69.14, -48.93)
CIE-LCHlch(57.53, 84.70, 324.71°)
OKLaboklab(66.36% 0.187 -0.1359)
OKLCHoklch(66.36% 0.231 324)
XYZxyz(43.7581, 25.4704, 73.8310)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452E1 #5FE152
analogous
#8C52E1 #D452E1 #E152A7
triadic
#D452E1 #E1D452 #52E1D4
tetradic
#D452E1 #E18C52 #5FE152 #52A7E1
square
#D452E1 #E18C52 #5FE152 #52A7E1
split-complementary
#D452E1 #A7E152 #52E18C
monochromatic
#911B9D #C224D1 #D452E1 #E186EA #EEBAF3

Accessibility & contrast

On white

3.45
#D452E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D452E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452E1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452E1#FFFFFF#000000##000000
##D452E11.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E5
Deuteranopia (green-blind)
#6A90DD
Tritanopia (blue-blind)
#D86893
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d452e1;
/* rgb */ color: rgb(212, 82, 225);
/* oklch */ color: oklch(66.4% 0.231 324.0);
Tailwind
colors: {
  custom: {
    50: '#e58beb',
    500: '#d452e1',
    950: '#000000',
  },
}
SCSS
$custom: #d452e1;
$custom-light: #e58beb;
$custom-dark: #000000;
JSON
{
  "hex": "#d452e1",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 294.545,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66356,
    "c": 0.23118,
    "h": 324
  },
  "luminance": 0.25468
}

Semantic roles & 50–950 ramp

primary
#D452E1
secondary
#B1E3AC
accent
#D21324
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D452E1

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

Preview Lab → · Contrast checker → · Palette generator →

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