#D527C8#D527C8

#D527C8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.7% C 0.257 H 331.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D527C8
RGBrgb(213, 39, 200)
HSLhsl(304, 69%, 49%)
HSVhsv(304, 82%, 84%)
CMYKcmyk(0%, 81.7%, 6.1%, 16.5%)
CIE-LABlab(51.58, 78.96, -44.12)
CIE-LCHlch(51.58, 90.46, 330.80°)
OKLaboklab(61.69% 0.2263 -0.1217)
OKLCHoklch(61.69% 0.257 331.7)
XYZxyz(38.5915, 19.7706, 56.4160)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D527C8 #27D534
analogous
#8B27D5 #D527C8 #D52771
triadic
#D527C8 #C8D527 #27C8D5
tetradic
#D527C8 #D58B27 #27D534 #2771D5
square
#D527C8 #D58B27 #27D534 #2771D5
split-complementary
#D527C8 #71D527 #27D58B
monochromatic
#6E1467 #A11E97 #D527C8 #E159D6 #EA8CE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D527C8#FFFFFF#000000##000000
##D527C81.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)
#0E6CCC
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#DE4079
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d527c8;
/* rgb */ color: rgb(213, 39, 200);
/* oklch */ color: oklch(61.7% 0.257 331.7);
Tailwind
colors: {
  custom: {
    50: '#e678d9',
    500: '#d527c8',
    950: '#000000',
  },
}
SCSS
$custom: #d527c8;
$custom-light: #e678d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d527c8",
  "rgb": {
    "r": 213,
    "g": 39,
    "b": 200
  },
  "hsl": {
    "h": 304.483,
    "s": 69.048,
    "l": 49.412
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.25694,
    "h": 331.7
  },
  "luminance": 0.19767
}

Semantic roles & 50–950 ramp

primary
#D527C8
secondary
#84D48A
accent
#EC493C
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170A15
muted
#857C83

Preview Lab

Preview with #D527C8

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

Preview Lab → · Contrast checker → · Palette generator →

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