#D452DF#D452DF

#D452DF is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.230 H 324.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#D452DF
RGBrgb(212, 82, 223)
HSLhsl(295, 69%, 60%)
HSVhsv(295, 63%, 87%)
CMYKcmyk(4.9%, 63.2%, 0%, 12.5%)
CIE-LABlab(57.43, 68.79, -47.97)
CIE-LCHlch(57.43, 83.86, 325.11°)
OKLaboklab(66.25% 0.1869 -0.1332)
OKLCHoklch(66.25% 0.23 324.5)
XYZxyz(43.4869, 25.3619, 72.4025)
Luminance0.2536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452DF #5DDF52
analogous
#8D52DF #D452DF #DF52A4
triadic
#D452DF #DFD452 #52DFD4
tetradic
#D452DF #DF8D52 #5DDF52 #52A4DF
square
#D452DF #DF8D52 #5DDF52 #52A4DF
split-complementary
#D452DF #A4DF52 #52DF8D
monochromatic
#901D9A #C126CE #D452DF #E186E9 #EEB9F2

Accessibility & contrast

On white

3.46
#D452DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#D452DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452DF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452DF#FFFFFF#000000##000000
##D452DF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3780E3
Deuteranopia (green-blind)
#6B8FDB
Tritanopia (blue-blind)
#D86792
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d452df;
/* rgb */ color: rgb(212, 82, 223);
/* oklch */ color: oklch(66.2% 0.230 324.5);
Tailwind
colors: {
  custom: {
    50: '#e58be9',
    500: '#d452df',
    950: '#000000',
  },
}
SCSS
$custom: #d452df;
$custom-light: #e58be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d452df",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 295.319,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66247,
    "c": 0.2295,
    "h": 324.5
  },
  "luminance": 0.25359
}

Semantic roles & 50–950 ramp

primary
#D452DF
secondary
#AFE2AB
accent
#EC3C4A
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D452DF

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

Preview Lab → · Contrast checker → · Palette generator →

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