#D542CA#D542CA

#D542CA is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.233 H 331.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D542CA
RGBrgb(213, 66, 202)
HSLhsl(304, 64%, 55%)
HSVhsv(304, 69%, 84%)
CMYKcmyk(0%, 69%, 5.2%, 16.5%)
CIE-LABlab(54.35, 71.60, -40.88)
CIE-LCHlch(54.35, 82.45, 330.27°)
OKLaboklab(63.71% 0.2041 -0.1125)
OKLCHoklch(63.71% 0.233 331.1)
XYZxyz(40.0494, 22.3099, 58.0626)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542CA #42D54D
analogous
#9742D5 #D542CA #D54280
triadic
#D542CA #CAD542 #42CAD5
tetradic
#D542CA #D59742 #42D54D #4280D5
square
#D542CA #D59742 #42D54D #4280D5
split-complementary
#D542CA #80D542 #42D597
monochromatic
#801C79 #B228A8 #D542CA #E074D8 #EBA6E6

Accessibility & contrast

On white

3.85
#D542CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D542CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542CA#FFFFFF#000000##000000
##D542CA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#6E89C6
Tritanopia (blue-blind)
#DD5381
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d542ca;
/* rgb */ color: rgb(213, 66, 202);
/* oklch */ color: oklch(63.7% 0.233 331.1);
Tailwind
colors: {
  custom: {
    50: '#e683da',
    500: '#d542ca',
    950: '#000000',
  },
}
SCSS
$custom: #d542ca;
$custom-light: #e683da;
$custom-dark: #000000;
JSON
{
  "hex": "#d542ca",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 304.49,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63712,
    "c": 0.23309,
    "h": 331.1
  },
  "luminance": 0.22307
}

Semantic roles & 50–950 ramp

primary
#D542CA
secondary
#9AD89F
accent
#E74E41
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D542CA

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

Preview Lab → · Contrast checker → · Palette generator →

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