#D452E8#D452E8

#D452E8 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.237 H 322.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D452E8
RGBrgb(212, 82, 232)
HSLhsl(292, 77%, 62%)
HSVhsv(292, 65%, 91%)
CMYKcmyk(8.6%, 64.7%, 0%, 9%)
CIE-LABlab(57.90, 70.37, -52.27)
CIE-LCHlch(57.90, 87.66, 323.40°)
OKLaboklab(66.75% 0.1871 -0.1457)
OKLCHoklch(66.75% 0.237 322.1)
XYZxyz(44.7326, 25.8602, 78.9636)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452E8 #66E852
analogous
#8952E8 #D452E8 #E852B1
triadic
#D452E8 #E8D452 #52E8D4
tetradic
#D452E8 #E88952 #66E852 #52B1E8
square
#D452E8 #E88952 #66E852 #52B1E8
split-complementary
#D452E8 #B1E852 #52E889
monochromatic
#9616A9 #C51EDF #D452E8 #E188EF #EFBEF6

Accessibility & contrast

On white

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

On black

6.17
#D452E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452E8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452E8#FFFFFF#000000##000000
##D452E81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B82EC
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#D66B96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d452e8;
/* rgb */ color: rgb(212, 82, 232);
/* oklch */ color: oklch(66.7% 0.237 322.1);
Tailwind
colors: {
  custom: {
    50: '#e58bf0',
    500: '#d452e8',
    950: '#000000',
  },
}
SCSS
$custom: #d452e8;
$custom-light: #e58bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#d452e8",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 292,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66746,
    "c": 0.2371,
    "h": 322.1
  },
  "luminance": 0.25858
}

Semantic roles & 50–950 ramp

primary
#D452E8
secondary
#B6E7AF
accent
#D90D28
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D452E8

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

Preview Lab → · Contrast checker → · Palette generator →

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