#D542CF#D542CF

#D542CF is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.0% C 0.237 H 329.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D542CF
RGBrgb(213, 66, 207)
HSLhsl(302, 64%, 55%)
HSVhsv(302, 69%, 84%)
CMYKcmyk(0%, 69%, 2.8%, 16.5%)
CIE-LABlab(54.61, 72.38, -43.35)
CIE-LCHlch(54.61, 84.37, 329.08°)
OKLaboklab(63.98% 0.2044 -0.1196)
OKLCHoklch(63.98% 0.237 329.7)
XYZxyz(40.6510, 22.5506, 61.2310)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542CF #42D548
analogous
#9242D5 #D542CF #D54286
triadic
#D542CF #CFD542 #42CFD5
tetradic
#D542CF #D59242 #42D548 #4286D5
square
#D542CF #D59242 #42D548 #4286D5
split-complementary
#D542CF #86D542 #42D592
monochromatic
#801C7C #B228AD #D542CF #E074DC #EBA6E8

Accessibility & contrast

On white

3.81
#D542CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D542CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542CF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542CF#FFFFFF#000000##000000
##D542CF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#DD5584
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d542cf;
/* rgb */ color: rgb(213, 66, 207);
/* oklch */ color: oklch(64.0% 0.237 329.7);
Tailwind
colors: {
  custom: {
    50: '#e683de',
    500: '#d542cf',
    950: '#000000',
  },
}
SCSS
$custom: #d542cf;
$custom-light: #e683de;
$custom-dark: #000000;
JSON
{
  "hex": "#d542cf",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 302.449,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.2368,
    "h": 329.7
  },
  "luminance": 0.22548
}

Semantic roles & 50–950 ramp

primary
#D542CF
secondary
#9AD89D
accent
#E74841
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D542CF

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

Preview Lab → · Contrast checker → · Palette generator →

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