#D542BF#D542BF

#D542BF is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.2% C 0.225 H 334.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D542BF
RGBrgb(213, 66, 191)
HSLhsl(309, 64%, 55%)
HSVhsv(309, 69%, 84%)
CMYKcmyk(0%, 69%, 10.3%, 16.5%)
CIE-LABlab(53.82, 69.93, -35.39)
CIE-LCHlch(53.82, 78.38, 333.16°)
OKLaboklab(63.15% 0.2033 -0.0967)
OKLCHoklch(63.15% 0.225 334.6)
XYZxyz(38.7931, 21.8074, 51.4462)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542BF #42D558
analogous
#A242D5 #D542BF #D54275
triadic
#D542BF #BFD542 #42BFD5
tetradic
#D542BF #D5A242 #42D558 #4275D5
square
#D542BF #D5A242 #42D558 #4275D5
split-complementary
#D542BF #75D542 #42D5A2
monochromatic
#801C71 #B2289D #D542BF #E074D0 #EBA6E1

Accessibility & contrast

On white

3.92
#D542BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D542BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542BF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542BF#FFFFFF#000000##000000
##D542BF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4073C3
Deuteranopia (green-blind)
#7388BB
Tritanopia (blue-blind)
#DF4E7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d542bf;
/* rgb */ color: rgb(213, 66, 191);
/* oklch */ color: oklch(63.2% 0.225 334.6);
Tailwind
colors: {
  custom: {
    50: '#e682d2',
    500: '#d542bf',
    950: '#000000',
  },
}
SCSS
$custom: #d542bf;
$custom-light: #e682d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d542bf",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 308.98,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.22514,
    "h": 334.6
  },
  "luminance": 0.21804
}

Semantic roles & 50–950 ramp

primary
#D542BF
secondary
#9AD8A4
accent
#E75A41
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D542BF

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

Preview Lab → · Contrast checker → · Palette generator →

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