#D522CF#D522CF

#D522CF is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.8% C 0.265 H 329.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D522CF
RGBrgb(213, 34, 207)
HSLhsl(302, 72%, 48%)
HSVhsv(302, 84%, 84%)
CMYKcmyk(0%, 84%, 2.8%, 16.5%)
CIE-LABlab(51.61, 81.00, -48.10)
CIE-LCHlch(51.61, 94.21, 329.30°)
OKLaboklab(61.83% 0.2291 -0.1332)
OKLCHoklch(61.83% 0.265 329.8)
XYZxyz(39.2749, 19.7984, 60.7723)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D522CF #22D528
analogous
#8122D5 #D522CF #D52275
triadic
#D522CF #CFD522 #22CFD5
tetradic
#D522CF #D58122 #22D528 #2275D5
square
#D522CF #D58122 #22D528 #2275D5
split-complementary
#D522CF #75D522 #22D581
monochromatic
#6B1168 #A01A9C #D522CF #E351DE #EC86E8

Accessibility & contrast

On white

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

On black

4.96
#D522CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D522CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D522CF#FFFFFF#000000##000000
##D522CF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#6083CB
Tritanopia (blue-blind)
#DD427D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d522cf;
/* rgb */ color: rgb(213, 34, 207);
/* oklch */ color: oklch(61.8% 0.265 329.8);
Tailwind
colors: {
  custom: {
    50: '#e777de',
    500: '#d522cf',
    950: '#000000',
  },
}
SCSS
$custom: #d522cf;
$custom-light: #e777de;
$custom-dark: #000000;
JSON
{
  "hex": "#d522cf",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 207
  },
  "hsl": {
    "h": 302.011,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61835,
    "c": 0.26499,
    "h": 329.8
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D522CF

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

Preview Lab → · Contrast checker → · Palette generator →

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