#D052E7#D052E7

#D052E7 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.2% C 0.234 H 321.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#D052E7
RGBrgb(208, 82, 231)
HSLhsl(291, 76%, 61%)
HSVhsv(291, 65%, 91%)
CMYKcmyk(10%, 64.5%, 0%, 9.4%)
CIE-LABlab(57.29, 69.29, -52.73)
CIE-LCHlch(57.29, 87.07, 322.73°)
OKLaboklab(66.17% 0.1826 -0.1471)
OKLCHoklch(66.17% 0.234 321.1)
XYZxyz(43.4519, 25.2162, 78.1643)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052E7 #69E752
analogous
#8652E7 #D052E7 #E752B4
triadic
#D052E7 #E7D052 #52E7D0
tetradic
#D052E7 #E78652 #69E752 #52B4E7
square
#D052E7 #E78652 #69E752 #52B4E7
split-complementary
#D052E7 #B4E752 #52E786
monochromatic
#9117A7 #C01FDD #D052E7 #DF88EE #EDBDF6

Accessibility & contrast

On white

3.48
#D052E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#D052E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052E7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052E7#FFFFFF#000000##000000
##D052E71.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2881EB
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#D26B96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d052e7;
/* rgb */ color: rgb(208, 82, 231);
/* oklch */ color: oklch(66.2% 0.234 321.1);
Tailwind
colors: {
  custom: {
    50: '#e28bef',
    500: '#d052e7',
    950: '#000000',
  },
}
SCSS
$custom: #d052e7;
$custom-light: #e28bef;
$custom-dark: #000000;
JSON
{
  "hex": "#d052e7",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 290.738,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66168,
    "c": 0.23446,
    "h": 321.1
  },
  "luminance": 0.25214
}

Semantic roles & 50–950 ramp

primary
#D052E7
secondary
#B7E6AF
accent
#D80E2D
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D052E7

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

Preview Lab → · Contrast checker → · Palette generator →

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