#D852E5#D852E5

#D852E5 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.1% C 0.236 H 324.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D852E5
RGBrgb(216, 82, 229)
HSLhsl(295, 74%, 61%)
HSVhsv(295, 64%, 90%)
CMYKcmyk(5.7%, 64.2%, 0%, 10.2%)
CIE-LABlab(58.31, 70.75, -49.90)
CIE-LCHlch(58.31, 86.58, 324.81°)
OKLaboklab(67.11% 0.1915 -0.1387)
OKLCHoklch(67.11% 0.236 324.1)
XYZxyz(45.4778, 26.2933, 76.7932)
Luminance0.2629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852E5 #5FE552
analogous
#8E52E5 #D852E5 #E552A8
triadic
#D852E5 #E5D852 #52E5D8
tetradic
#D852E5 #E58E52 #5FE552 #52A8E5
square
#D852E5 #E58E52 #5FE552 #52A8E5
split-complementary
#D852E5 #A8E552 #52E58E
monochromatic
#9819A4 #C921D9 #D852E5 #E487ED #F0BCF5

Accessibility & contrast

On white

3.36
#D852E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D852E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852E5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852E5#FFFFFF#000000##000000
##D852E51.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382E9
Deuteranopia (green-blind)
#6B92E1
Tritanopia (blue-blind)
#DC6995
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d852e5;
/* rgb */ color: rgb(216, 82, 229);
/* oklch */ color: oklch(67.1% 0.236 324.1);
Tailwind
colors: {
  custom: {
    50: '#e88cee',
    500: '#d852e5',
    950: '#000000',
  },
}
SCSS
$custom: #d852e5;
$custom-light: #e88cee;
$custom-dark: #000000;
JSON
{
  "hex": "#d852e5",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 294.694,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67105,
    "c": 0.23642,
    "h": 324.1
  },
  "luminance": 0.26291
}

Semantic roles & 50–950 ramp

primary
#D852E5
secondary
#B3E5AE
accent
#D61021
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D852E5

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

Preview Lab → · Contrast checker → · Palette generator →

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