#D852FF#D852FF

#D852FF is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.6% C 0.258 H 317.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D852FF
RGBrgb(216, 82, 255)
HSLhsl(286, 100%, 66%)
HSVhsv(286, 68%, 100%)
CMYKcmyk(15.3%, 67.8%, 0%, 0%)
CIE-LABlab(59.76, 75.42, -62.07)
CIE-LCHlch(59.76, 97.67, 320.55°)
OKLaboklab(68.61% 0.191 -0.1742)
OKLCHoklch(68.61% 0.258 317.6)
XYZxyz(49.3836, 27.8556, 97.3637)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852FF #79FF52
analogous
#8152FF #D852FF #FF52CF
triadic
#D852FF #FFD852 #52FFD8
tetradic
#D852FF #FF8152 #79FF52 #52CFFF
square
#D852FF #FF8152 #79FF52 #52CFFF
split-complementary
#D852FF #CFFF52 #52FF81
monochromatic
#A600D7 #CA15FF #D852FF #E68FFF #F4CCFF

Accessibility & contrast

On white

3.20
#D852FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D852FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852FF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852FF#FFFFFF#000000##000000
##D852FF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5894FB
Tritanopia (blue-blind)
#D773A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d852ff;
/* rgb */ color: rgb(216, 82, 255);
/* oklch */ color: oklch(68.6% 0.258 317.6);
Tailwind
colors: {
  custom: {
    50: '#e88dff',
    500: '#d852ff',
    950: '#000000',
  },
}
SCSS
$custom: #d852ff;
$custom-light: #e88dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d852ff",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 286.474,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68607,
    "c": 0.25846,
    "h": 317.6
  },
  "luminance": 0.27854
}

Semantic roles & 50–950 ramp

primary
#D852FF
secondary
#C7F3BA
accent
#E60034
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #D852FF

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

Preview Lab → · Contrast checker → · Palette generator →

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