#D452E7#D452E7

#D452E7 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.7% C 0.236 H 322.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#D452E7
RGBrgb(212, 82, 231)
HSLhsl(292, 76%, 61%)
HSVhsv(292, 65%, 91%)
CMYKcmyk(8.2%, 64.5%, 0%, 9.4%)
CIE-LABlab(57.85, 70.19, -51.79)
CIE-LCHlch(57.85, 87.23, 323.58°)
OKLaboklab(66.69% 0.1871 -0.1443)
OKLCHoklch(66.69% 0.236 322.4)
XYZxyz(44.5910, 25.8036, 78.2177)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452E7 #65E752
analogous
#8A52E7 #D452E7 #E752B0
triadic
#D452E7 #E7D452 #52E7D4
tetradic
#D452E7 #E78A52 #65E752 #52B0E7
square
#D452E7 #E78A52 #65E752 #52B0E7
split-complementary
#D452E7 #B0E752 #52E78A
monochromatic
#9517A7 #C51FDD #D452E7 #E188EE #EFBDF6

Accessibility & contrast

On white

3.41
#D452E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#D452E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452E7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452E7#FFFFFF#000000##000000
##D452E71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EB
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#D76A96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d452e7;
/* rgb */ color: rgb(212, 82, 231);
/* oklch */ color: oklch(66.7% 0.236 322.4);
Tailwind
colors: {
  custom: {
    50: '#e58bef',
    500: '#d452e7',
    950: '#000000',
  },
}
SCSS
$custom: #d452e7;
$custom-light: #e58bef;
$custom-dark: #000000;
JSON
{
  "hex": "#d452e7",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 292.349,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6669,
    "c": 0.23625,
    "h": 322.4
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#D452E7
secondary
#B6E6AF
accent
#D80E27
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D452E7

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

Preview Lab → · Contrast checker → · Palette generator →

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