#C542D9#C542D9

#C542D9 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.3% C 0.237 H 322.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C542D9
RGBrgb(197, 66, 217)
HSLhsl(292, 67%, 55%)
HSVhsv(292, 70%, 85%)
CMYKcmyk(9.2%, 69.6%, 0%, 14.9%)
CIE-LABlab(52.71, 70.56, -52.22)
CIE-LCHlch(52.71, 87.78, 323.50°)
OKLaboklab(62.31% 0.1871 -0.1458)
OKLCHoklch(62.31% 0.237 322.1)
XYZxyz(37.4972, 20.7786, 67.6678)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C542D9 #56D942
analogous
#7942D9 #C542D9 #D942A1
triadic
#C542D9 #D9C542 #42D9C5
tetradic
#C542D9 #D97942 #56D942 #42A1D9
square
#C542D9 #D97942 #56D942 #42A1D9
split-complementary
#C542D9 #A1D942 #42D979
monochromatic
#781B86 #A525B9 #C542D9 #D575E3 #E4A8ED

Accessibility & contrast

On white

4.07
#C542D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C542D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C542D9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C542D9#FFFFFF#000000##000000
##C542D91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0174DD
Deuteranopia (green-blind)
#5683D5
Tritanopia (blue-blind)
#C75D89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c542d9;
/* rgb */ color: rgb(197, 66, 217);
/* oklch */ color: oklch(62.3% 0.237 322.1);
Tailwind
colors: {
  custom: {
    50: '#da82e5',
    500: '#c542d9',
    950: '#000000',
  },
}
SCSS
$custom: #c542d9;
$custom-light: #da82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c542d9",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 292.053,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62306,
    "c": 0.23722,
    "h": 322.1
  },
  "luminance": 0.20777
}

Semantic roles & 50–950 ramp

primary
#C542D9
secondary
#A4DB9C
accent
#E93E55
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C542D9

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

Preview Lab → · Contrast checker → · Palette generator →

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