#D522D0#D522D0

#D522D0 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.9% C 0.266 H 329.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D522D0
RGBrgb(213, 34, 208)
HSLhsl(302, 72%, 48%)
HSVhsv(302, 84%, 84%)
CMYKcmyk(0%, 84%, 2.3%, 16.5%)
CIE-LABlab(51.66, 81.15, -48.59)
CIE-LCHlch(51.66, 94.58, 329.09°)
OKLaboklab(61.89% 0.229 -0.1346)
OKLCHoklch(61.89% 0.266 329.6)
XYZxyz(39.3975, 19.8475, 61.4182)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D522D0 #22D527
analogous
#8022D5 #D522D0 #D52276
triadic
#D522D0 #D0D522 #22D0D5
tetradic
#D522D0 #D58022 #22D527 #2276D5
square
#D522D0 #D58022 #22D527 #2276D5
split-complementary
#D522D0 #76D522 #22D580
monochromatic
#6B1169 #A01A9C #D522D0 #E351DF #EC86E9

Accessibility & contrast

On white

4.23
#D522D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D522D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D522D0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D522D0#FFFFFF#000000##000000
##D522D01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#DD437D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d522d0;
/* rgb */ color: rgb(213, 34, 208);
/* oklch */ color: oklch(61.9% 0.266 329.6);
Tailwind
colors: {
  custom: {
    50: '#e777df',
    500: '#d522d0',
    950: '#000000',
  },
}
SCSS
$custom: #d522d0;
$custom-light: #e777df;
$custom-dark: #000000;
JSON
{
  "hex": "#d522d0",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 208
  },
  "hsl": {
    "h": 301.676,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.26566,
    "h": 329.6
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#D522D0
secondary
#7ED580
accent
#EF3E39
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D522D0

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

Preview Lab → · Contrast checker → · Palette generator →

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