#C542D5#C542D5

#C542D5 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.1% C 0.234 H 323.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C542D5
RGBrgb(197, 66, 213)
HSLhsl(293, 64%, 55%)
HSVhsv(293, 69%, 84%)
CMYKcmyk(7.5%, 69%, 0%, 16.5%)
CIE-LABlab(52.48, 69.86, -50.30)
CIE-LCHlch(52.48, 86.08, 324.24°)
OKLaboklab(62.07% 0.1872 -0.1402)
OKLCHoklch(62.07% 0.234 323.2)
XYZxyz(36.9833, 20.5730, 64.9609)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C542D5 #52D542
analogous
#7B42D5 #C542D5 #D5429C
triadic
#C542D5 #D5C542 #42D5C5
tetradic
#C542D5 #D57B42 #52D542 #429CD5
square
#C542D5 #D57B42 #52D542 #429CD5
split-complementary
#C542D5 #9CD542 #42D57B
monochromatic
#751C80 #A328B2 #C542D5 #D474E0 #E4A6EB

Accessibility & contrast

On white

4.11
#C542D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C542D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C542D5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C542D5#FFFFFF#000000##000000
##C542D51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1273D9
Deuteranopia (green-blind)
#5982D1
Tritanopia (blue-blind)
#C85B87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c542d5;
/* rgb */ color: rgb(197, 66, 213);
/* oklch */ color: oklch(62.1% 0.234 323.2);
Tailwind
colors: {
  custom: {
    50: '#da81e2',
    500: '#c542d5',
    950: '#000000',
  },
}
SCSS
$custom: #c542d5;
$custom-light: #da81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c542d5",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 293.469,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.23392,
    "h": 323.2
  },
  "luminance": 0.20571
}

Semantic roles & 50–950 ramp

primary
#C542D5
secondary
#A1D89A
accent
#E74153
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C542D5

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

Preview Lab → · Contrast checker → · Palette generator →

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