#D452FD#D452FD

#D452FD is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 68.0% C 0.255 H 316.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D452FD
RGBrgb(212, 82, 253)
HSLhsl(286, 98%, 66%)
HSVhsv(286, 68%, 99%)
CMYKcmyk(16.2%, 67.6%, 0%, 0.8%)
CIE-LABlab(59.09, 74.22, -62.06)
CIE-LCHlch(59.09, 96.75, 320.10°)
OKLaboklab(67.98% 0.1865 -0.1743)
OKLCHoklch(67.98% 0.255 316.9)
XYZxyz(47.8957, 27.1254, 95.6223)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452FD #7BFD52
analogous
#7E52FD #D452FD #FD52D0
triadic
#D452FD #FDD452 #52FDD4
tetradic
#D452FD #FD7E52 #7BFD52 #52D0FD
square
#D452FD #FD7E52 #7BFD52 #52D0FD
split-complementary
#D452FD #D0FD52 #52FD7E
monochromatic
#A002D2 #C515FC #D452FD #E38EFE #F2CBFE

Accessibility & contrast

On white

3.27
#D452FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D452FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452FD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452FD#FFFFFF#000000##000000
##D452FD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#D273A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d452fd;
/* rgb */ color: rgb(212, 82, 253);
/* oklch */ color: oklch(68.0% 0.255 316.9);
Tailwind
colors: {
  custom: {
    50: '#e58cff',
    500: '#d452fd',
    950: '#000000',
  },
}
SCSS
$custom: #d452fd;
$custom-light: #e58cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d452fd",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 285.614,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67979,
    "c": 0.25523,
    "h": 316.9
  },
  "luminance": 0.27123
}

Semantic roles & 50–950 ramp

primary
#D452FD
secondary
#C7F2B9
accent
#E60037
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D452FD

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

Preview Lab → · Contrast checker → · Palette generator →

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