#D452DC#D452DC

#D452DC is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.227 H 325.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#D452DC
RGBrgb(212, 82, 220)
HSLhsl(297, 66%, 59%)
HSVhsv(297, 63%, 86%)
CMYKcmyk(3.6%, 62.7%, 0%, 13.7%)
CIE-LABlab(57.27, 68.27, -46.52)
CIE-LCHlch(57.27, 82.61, 325.73°)
OKLaboklab(66.08% 0.1868 -0.129)
OKLCHoklch(66.08% 0.227 325.4)
XYZxyz(43.0860, 25.2015, 70.2912)
Luminance0.2520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452DC #5ADC52
analogous
#8F52DC #D452DC #DC529F
triadic
#D452DC #DCD452 #52DCD4
tetradic
#D452DC #DC8F52 #5ADC52 #529FDC
square
#D452DC #DC8F52 #5ADC52 #529FDC
split-complementary
#D452DC #9FDC52 #52DC8F
monochromatic
#8E1E95 #BF29C8 #D452DC #E185E6 #EDB8F1

Accessibility & contrast

On white

3.48
#D452DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#D452DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452DC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452DC#FFFFFF#000000##000000
##D452DC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE0
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#D96690
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d452dc;
/* rgb */ color: rgb(212, 82, 220);
/* oklch */ color: oklch(66.1% 0.227 325.4);
Tailwind
colors: {
  custom: {
    50: '#e58be7',
    500: '#d452dc',
    950: '#000000',
  },
}
SCSS
$custom: #d452dc;
$custom-light: #e58be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d452dc",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 296.522,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66084,
    "c": 0.227,
    "h": 325.4
  },
  "luminance": 0.25199
}

Semantic roles & 50–950 ramp

primary
#D452DC
secondary
#ADE0AA
accent
#E93F48
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D452DC

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

Preview Lab → · Contrast checker → · Palette generator →

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