#D542C8#D542C8

#D542C8 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.6% C 0.232 H 331.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D542C8
RGBrgb(213, 66, 200)
HSLhsl(305, 64%, 55%)
HSVhsv(305, 69%, 84%)
CMYKcmyk(0%, 69%, 6.1%, 16.5%)
CIE-LABlab(54.26, 71.29, -39.89)
CIE-LCHlch(54.26, 81.69, 330.77°)
OKLaboklab(63.61% 0.204 -0.1096)
OKLCHoklch(63.61% 0.232 331.7)
XYZxyz(39.8141, 22.2158, 56.8235)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542C8 #42D54F
analogous
#9842D5 #D542C8 #D5427F
triadic
#D542C8 #C8D542 #42C8D5
tetradic
#D542C8 #D59842 #42D54F #427FD5
square
#D542C8 #D59842 #42D54F #427FD5
split-complementary
#D542C8 #7FD542 #42D598
monochromatic
#801C77 #B228A6 #D542C8 #E074D7 #EBA6E5

Accessibility & contrast

On white

3.86
#D542C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D542C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542C8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542C8#FFFFFF#000000##000000
##D542C81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3975CC
Deuteranopia (green-blind)
#6F89C4
Tritanopia (blue-blind)
#DE5280
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d542c8;
/* rgb */ color: rgb(213, 66, 200);
/* oklch */ color: oklch(63.6% 0.232 331.7);
Tailwind
colors: {
  custom: {
    50: '#e683d9',
    500: '#d542c8',
    950: '#000000',
  },
}
SCSS
$custom: #d542c8;
$custom-light: #e683d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d542c8",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 305.306,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63608,
    "c": 0.23161,
    "h": 331.7
  },
  "luminance": 0.22213
}

Semantic roles & 50–950 ramp

primary
#D542C8
secondary
#9AD8A0
accent
#E75041
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D542C8

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

Preview Lab → · Contrast checker → · Palette generator →

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