#D452E2#D452E2

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

Color values

HEX#D452E2
RGBrgb(212, 82, 226)
HSLhsl(294, 71%, 60%)
HSVhsv(294, 64%, 89%)
CMYKcmyk(6.2%, 63.7%, 0%, 11.4%)
CIE-LABlab(57.58, 69.31, -49.41)
CIE-LCHlch(57.58, 85.12, 324.52°)
OKLaboklab(66.41% 0.187 -0.1373)
OKLCHoklch(66.41% 0.232 323.7)
XYZxyz(43.8949, 25.5251, 74.5515)
Luminance0.2552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452E2 #60E252
analogous
#8C52E2 #D452E2 #E252A8
triadic
#D452E2 #E2D452 #52E2D4
tetradic
#D452E2 #E28C52 #60E252 #52A8E2
square
#D452E2 #E28C52 #60E252 #52A8E2
split-complementary
#D452E2 #A8E252 #52E28C
monochromatic
#921B9F #C223D3 #D452E2 #E186EB #EEBBF4

Accessibility & contrast

On white

3.44
#D452E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#D452E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452E2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452E2#FFFFFF#000000##000000
##D452E21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E6
Deuteranopia (green-blind)
#6990DE
Tritanopia (blue-blind)
#D86893
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d452e2;
/* rgb */ color: rgb(212, 82, 226);
/* oklch */ color: oklch(66.4% 0.232 323.7);
Tailwind
colors: {
  custom: {
    50: '#e58bec',
    500: '#d452e2',
    950: '#000000',
  },
}
SCSS
$custom: #d452e2;
$custom-light: #e58bec;
$custom-dark: #000000;
JSON
{
  "hex": "#d452e2",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 294.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66411,
    "c": 0.23202,
    "h": 323.7
  },
  "luminance": 0.25523
}

Semantic roles & 50–950 ramp

primary
#D452E2
secondary
#B2E3AC
accent
#D31225
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D452E2

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

Preview Lab → · Contrast checker → · Palette generator →

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