#D542CD#D542CD

#D542CD is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.9% C 0.235 H 330.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D542CD
RGBrgb(213, 66, 205)
HSLhsl(303, 64%, 55%)
HSVhsv(303, 69%, 84%)
CMYKcmyk(0%, 69%, 3.8%, 16.5%)
CIE-LABlab(54.50, 72.06, -42.36)
CIE-LCHlch(54.50, 83.59, 329.55°)
OKLaboklab(63.87% 0.2043 -0.1168)
OKLCHoklch(63.87% 0.235 330.2)
XYZxyz(40.4080, 22.4534, 59.9515)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542CD #42D54A
analogous
#9342D5 #D542CD #D54284
triadic
#D542CD #CDD542 #42CDD5
tetradic
#D542CD #D59342 #42D54A #4284D5
square
#D542CD #D59342 #42D54A #4284D5
split-complementary
#D542CD #84D542 #42D593
monochromatic
#801C7B #B228AB #D542CD #E074DA #EBA6E7

Accessibility & contrast

On white

3.83
#D542CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D542CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542CD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542CD#FFFFFF#000000##000000
##D542CD1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D1
Deuteranopia (green-blind)
#6D89C9
Tritanopia (blue-blind)
#DD5483
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d542cd;
/* rgb */ color: rgb(213, 66, 205);
/* oklch */ color: oklch(63.9% 0.235 330.2);
Tailwind
colors: {
  custom: {
    50: '#e683dd',
    500: '#d542cd',
    950: '#000000',
  },
}
SCSS
$custom: #d542cd;
$custom-light: #e683dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d542cd",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 303.265,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63869,
    "c": 0.23531,
    "h": 330.2
  },
  "luminance": 0.2245
}

Semantic roles & 50–950 ramp

primary
#D542CD
secondary
#9AD89E
accent
#E74A41
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D542CD

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

Preview Lab → · Contrast checker → · Palette generator →

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