#C542D0#C542D0

#C542D0 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.230 H 324.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C542D0
RGBrgb(197, 66, 208)
HSLhsl(295, 60%, 54%)
HSVhsv(295, 68%, 82%)
CMYKcmyk(5.3%, 68.3%, 0%, 18.4%)
CIE-LABlab(52.20, 68.99, -47.89)
CIE-LCHlch(52.20, 83.98, 325.23°)
OKLaboklab(61.78% 0.1873 -0.1332)
OKLCHoklch(61.78% 0.23 324.6)
XYZxyz(36.3584, 20.3230, 61.6700)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C542D0 #4DD042
analogous
#7E42D0 #C542D0 #D04294
triadic
#C542D0 #D0C542 #42D0C5
tetradic
#C542D0 #D07E42 #4DD042 #4294D0
square
#C542D0 #D07E42 #4DD042 #4294D0
split-complementary
#C542D0 #94D042 #42D07E
monochromatic
#721E79 #A02AAA #C542D0 #D473DC #E3A4E8

Accessibility & contrast

On white

4.15
#C542D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C542D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C542D0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C542D0#FFFFFF#000000##000000
##C542D01.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D4
Deuteranopia (green-blind)
#5C82CC
Tritanopia (blue-blind)
#C95984
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c542d0;
/* rgb */ color: rgb(197, 66, 208);
/* oklch */ color: oklch(61.8% 0.230 324.6);
Tailwind
colors: {
  custom: {
    50: '#da81df',
    500: '#c542d0',
    950: '#000000',
  },
}
SCSS
$custom: #c542d0;
$custom-light: #da81df;
$custom-dark: #000000;
JSON
{
  "hex": "#c542d0",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 295.352,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.22984,
    "h": 324.6
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

primary
#C542D0
secondary
#9DD599
accent
#E34451
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C542D0

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

Preview Lab → · Contrast checker → · Palette generator →

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