#D452F5#D452F5

#D452F5 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.5% C 0.248 H 318.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D452F5
RGBrgb(212, 82, 245)
HSLhsl(288, 89%, 64%)
HSVhsv(288, 67%, 96%)
CMYKcmyk(13.5%, 66.5%, 0%, 3.9%)
CIE-LABlab(58.63, 72.73, -58.37)
CIE-LCHlch(58.63, 93.26, 321.25°)
OKLaboklab(67.5% 0.1868 -0.1635)
OKLCHoklch(67.5% 0.248 318.8)
XYZxyz(46.6479, 26.6263, 89.0507)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452F5 #73F552
analogous
#8352F5 #D452F5 #F552C4
triadic
#D452F5 #F5D452 #52F5D4
tetradic
#D452F5 #F58352 #73F552 #52C4F5
square
#D452F5 #F58352 #73F552 #52C4F5
split-complementary
#D452F5 #C4F552 #52F583
monochromatic
#9D0BC1 #C618F2 #D452F5 #E28CF8 #F1C6FC

Accessibility & contrast

On white

3.32
#D452F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D452F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452F5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452F5#FFFFFF#000000##000000
##D452F51.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0784FA
Deuteranopia (green-blind)
#5C91F1
Tritanopia (blue-blind)
#D4709D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d452f5;
/* rgb */ color: rgb(212, 82, 245);
/* oklch */ color: oklch(67.5% 0.248 318.8);
Tailwind
colors: {
  custom: {
    50: '#e58cf9',
    500: '#d452f5',
    950: '#000000',
  },
}
SCSS
$custom: #d452f5;
$custom-light: #e58cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d452f5",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 287.853,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.24826,
    "h": 318.8
  },
  "luminance": 0.26624
}

Semantic roles & 50–950 ramp

primary
#D452F5
secondary
#C0EEB5
accent
#E6002E
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D452F5

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

Preview Lab → · Contrast checker → · Palette generator →

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