#C542D6#C542D6

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

Color values

HEX#C542D6
RGBrgb(197, 66, 214)
HSLhsl(293, 64%, 55%)
HSVhsv(293, 69%, 84%)
CMYKcmyk(7.9%, 69.2%, 0%, 16.1%)
CIE-LABlab(52.54, 70.03, -50.78)
CIE-LCHlch(52.54, 86.51, 324.05°)
OKLaboklab(62.13% 0.1872 -0.1416)
OKLCHoklch(62.13% 0.235 322.9)
XYZxyz(37.1106, 20.6239, 65.6314)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C542D6 #53D642
analogous
#7B42D6 #C542D6 #D6429D
triadic
#C542D6 #D6C542 #42D6C5
tetradic
#C542D6 #D67B42 #53D642 #429DD6
square
#C542D6 #D67B42 #53D642 #429DD6
split-complementary
#C542D6 #9DD642 #42D67B
monochromatic
#761C82 #A427B4 #C542D6 #D474E1 #E4A7EC

Accessibility & contrast

On white

4.10
#C542D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C542D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C542D6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C542D6#FFFFFF#000000##000000
##C542D61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F74DA
Deuteranopia (green-blind)
#5882D2
Tritanopia (blue-blind)
#C85C88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c542d6;
/* rgb */ color: rgb(197, 66, 214);
/* oklch */ color: oklch(62.1% 0.235 322.9);
Tailwind
colors: {
  custom: {
    50: '#da81e3',
    500: '#c542d6',
    950: '#000000',
  },
}
SCSS
$custom: #c542d6;
$custom-light: #da81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c542d6",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 293.108,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62129,
    "c": 0.23475,
    "h": 322.9
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#C542D6
secondary
#A2D99B
accent
#E74054
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #C542D6

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

Preview Lab → · Contrast checker → · Palette generator →

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