#D452FF#D452FF

#D452FF is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 68.1% C 0.257 H 316.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#D452FF
RGBrgb(212, 82, 255)
HSLhsl(285, 100%, 66%)
HSVhsv(285, 68%, 100%)
CMYKcmyk(16.9%, 67.8%, 0%, 0%)
CIE-LABlab(59.21, 74.59, -62.98)
CIE-LCHlch(59.21, 97.62, 319.83°)
OKLaboklab(68.1% 0.1863 -0.177)
OKLCHoklch(68.1% 0.257 316.5)
XYZxyz(48.2159, 27.2535, 97.3090)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D452FF #7DFF52
analogous
#7D52FF #D452FF #FF52D3
triadic
#D452FF #FFD452 #52FFD4
tetradic
#D452FF #FF7D52 #7DFF52 #52D3FF
square
#D452FF #FF7D52 #7DFF52 #52D3FF
split-complementary
#D452FF #D3FF52 #52FF7D
monochromatic
#A100D7 #C515FF #D452FF #E38FFF #F2CCFF

Accessibility & contrast

On white

3.26
#D452FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#D452FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D452FF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D452FF#FFFFFF#000000##000000
##D452FF1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#D274A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d452ff;
/* rgb */ color: rgb(212, 82, 255);
/* oklch */ color: oklch(68.1% 0.257 316.5);
Tailwind
colors: {
  custom: {
    50: '#e58cff',
    500: '#d452ff',
    950: '#000000',
  },
}
SCSS
$custom: #d452ff;
$custom-light: #e58cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d452ff",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 285.087,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.25697,
    "h": 316.5
  },
  "luminance": 0.27252
}

Semantic roles & 50–950 ramp

primary
#D452FF
secondary
#C8F3BA
accent
#E60039
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D452FF

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

Preview Lab → · Contrast checker → · Palette generator →

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