#D522CE#D522CE

#D522CE is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.8% C 0.264 H 330.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D522CE
RGBrgb(213, 34, 206)
HSLhsl(302, 72%, 48%)
HSVhsv(302, 84%, 84%)
CMYKcmyk(0%, 84%, 3.3%, 16.5%)
CIE-LABlab(51.55, 80.85, -47.62)
CIE-LCHlch(51.55, 93.83, 329.51°)
OKLaboklab(61.78% 0.2291 -0.1318)
OKLCHoklch(61.78% 0.264 330.1)
XYZxyz(39.1530, 19.7497, 60.1305)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D522CE #22D529
analogous
#8222D5 #D522CE #D52275
triadic
#D522CE #CED522 #22CED5
tetradic
#D522CE #D58222 #22D529 #2275D5
square
#D522CE #D58222 #22D529 #2275D5
split-complementary
#D522CE #75D522 #22D582
monochromatic
#6B1168 #A01A9B #D522CE #E351DE #EC86E8

Accessibility & contrast

On white

4.24
#D522CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D522CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D522CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D522CE#FFFFFF#000000##000000
##D522CE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#DD427C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d522ce;
/* rgb */ color: rgb(213, 34, 206);
/* oklch */ color: oklch(61.8% 0.264 330.1);
Tailwind
colors: {
  custom: {
    50: '#e777dd',
    500: '#d522ce',
    950: '#000000',
  },
}
SCSS
$custom: #d522ce;
$custom-light: #e777dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d522ce",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 206
  },
  "hsl": {
    "h": 302.346,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.26432,
    "h": 330.1
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

primary
#D522CE
secondary
#7ED581
accent
#EF4039
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D522CE

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

Preview Lab → · Contrast checker → · Palette generator →

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