#D522D1#D522D1

#D522D1 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 62.0% C 0.266 H 329.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D522D1
RGBrgb(213, 34, 209)
HSLhsl(301, 72%, 48%)
HSVhsv(301, 84%, 84%)
CMYKcmyk(0%, 84%, 1.9%, 16.5%)
CIE-LABlab(51.72, 81.29, -49.07)
CIE-LCHlch(51.72, 94.96, 328.88°)
OKLaboklab(61.95% 0.229 -0.136)
OKLCHoklch(61.95% 0.266 329.3)
XYZxyz(39.5210, 19.8968, 62.0682)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D522D1 #22D526
analogous
#7F22D5 #D522D1 #D52277
triadic
#D522D1 #D1D522 #22D1D5
tetradic
#D522D1 #D57F22 #22D526 #2277D5
square
#D522D1 #D57F22 #22D526 #2277D5
split-complementary
#D522D1 #77D522 #22D57F
monochromatic
#6B1169 #A01A9D #D522D1 #E351E0 #EC86E9

Accessibility & contrast

On white

4.22
#D522D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D522D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D522D1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D522D1#FFFFFF#000000##000000
##D522D11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#5E83CD
Tritanopia (blue-blind)
#DD437E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d522d1;
/* rgb */ color: rgb(213, 34, 209);
/* oklch */ color: oklch(62.0% 0.266 329.3);
Tailwind
colors: {
  custom: {
    50: '#e777e0',
    500: '#d522d1',
    950: '#000000',
  },
}
SCSS
$custom: #d522d1;
$custom-light: #e777e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d522d1",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 209
  },
  "hsl": {
    "h": 301.341,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6195,
    "c": 0.26633,
    "h": 329.3
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D522D1

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

Preview Lab → · Contrast checker → · Palette generator →

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