#E542CF#E542CF

#E542CF is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.3% C 0.245 H 334.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#E542CF
RGBrgb(229, 66, 207)
HSLhsl(308, 76%, 58%)
HSVhsv(308, 71%, 90%)
CMYKcmyk(0%, 71.2%, 9.6%, 10.2%)
CIE-LABlab(57.14, 75.96, -39.19)
CIE-LCHlch(57.14, 85.47, 332.71°)
OKLaboklab(66.29% 0.2204 -0.1073)
OKLCHoklch(66.29% 0.245 334)
XYZxyz(45.5242, 25.0633, 61.4595)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E542CF #42E558
analogous
#A942E5 #E542CF #E5427D
triadic
#E542CF #CFE542 #42CFE5
tetradic
#E542CF #E5A942 #42E558 #427DE5
square
#E542CF #E5A942 #42E558 #427DE5
split-complementary
#E542CF #7DE542 #42E5A9
monochromatic
#981586 #CE1CB6 #E542CF #EC78DD #F4AEEA

Accessibility & contrast

On white

3.49
#E542CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#E542CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E542CF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E542CF#FFFFFF#000000##000000
##E542CF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#7992CB
Tritanopia (blue-blind)
#F05184
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e542cf;
/* rgb */ color: rgb(229, 66, 207);
/* oklch */ color: oklch(66.3% 0.245 334.0);
Tailwind
colors: {
  custom: {
    50: '#f185de',
    500: '#e542cf',
    950: '#000000',
  },
}
SCSS
$custom: #e542cf;
$custom-light: #f185de;
$custom-dark: #000000;
JSON
{
  "hex": "#e542cf",
  "rgb": {
    "r": 229,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 308.098,
    "s": 75.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.66285,
    "c": 0.24511,
    "h": 334
  },
  "luminance": 0.25059
}

Semantic roles & 50–950 ramp

primary
#E542CF
secondary
#A1E2AA
accent
#F24F35
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #E542CF

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

Preview Lab → · Contrast checker → · Palette generator →

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