#D452E9#D452E9

#D452E9 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.8% C 0.238 H 321.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D452E9
RGBrgb(212, 82, 233)
HSLhsl(292, 77%, 62%)
HSVhsv(292, 65%, 91%)
CMYKcmyk(9%, 64.8%, 0%, 8.6%)
CIE-LABlab(57.96, 70.55, -52.74)
CIE-LCHlch(57.96, 88.09, 323.22°)
OKLaboklab(66.8% 0.1871 -0.147)
OKLCHoklch(66.8% 0.238 321.8)
XYZxyz(44.8751, 25.9172, 79.7138)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452E9 #67E952
analogous
#8952E9 #D452E9 #E952B2
triadic
#D452E9 #E9D452 #52E9D4
tetradic
#D452E9 #E98952 #67E952 #52B2E9
square
#D452E9 #E98952 #67E952 #52B2E9
split-complementary
#D452E9 #B2E952 #52E989
monochromatic
#9616AB #C61DE1 #D452E9 #E188F0 #EFBFF7

Accessibility & contrast

On white

3.40
#D452E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D452E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452E9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452E9#FFFFFF#000000##000000
##D452E91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982ED
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#D66B97
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d452e9;
/* rgb */ color: rgb(212, 82, 233);
/* oklch */ color: oklch(66.8% 0.238 321.8);
Tailwind
colors: {
  custom: {
    50: '#e58cf1',
    500: '#d452e9',
    950: '#000000',
  },
}
SCSS
$custom: #d452e9;
$custom-light: #e58cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d452e9",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 291.656,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66803,
    "c": 0.23795,
    "h": 321.8
  },
  "luminance": 0.25915
}

Semantic roles & 50–950 ramp

primary
#D452E9
secondary
#B7E7AF
accent
#DA0C28
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D452E9

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

Preview Lab → · Contrast checker → · Palette generator →

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