#C542CE#C542CE

#C542CE is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.228 H 325.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C542CE
RGBrgb(197, 66, 206)
HSLhsl(296, 59%, 53%)
HSVhsv(296, 68%, 81%)
CMYKcmyk(4.4%, 68%, 0%, 19.2%)
CIE-LABlab(52.09, 68.65, -46.92)
CIE-LCHlch(52.09, 83.15, 325.65°)
OKLaboklab(61.67% 0.1873 -0.1304)
OKLCHoklch(61.67% 0.228 325.2)
XYZxyz(36.1139, 20.2252, 60.3822)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C542CE #4BCE42
analogous
#7F42CE #C542CE #CE4291
triadic
#C542CE #CEC542 #42CEC5
tetradic
#C542CE #CE7F42 #4BCE42 #4291CE
square
#C542CE #CE7F42 #4BCE42 #4291CE
split-complementary
#C542CE #91CE42 #42CE7F
monochromatic
#711F77 #9F2BA7 #C542CE #D473DB #E3A3E7

Accessibility & contrast

On white

4.16
#C542CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C542CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C542CE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C542CE#FFFFFF#000000##000000
##C542CE1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#C95883
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c542ce;
/* rgb */ color: rgb(197, 66, 206);
/* oklch */ color: oklch(61.7% 0.228 325.2);
Tailwind
colors: {
  custom: {
    50: '#da81dd',
    500: '#c542ce',
    950: '#000000',
  },
}
SCSS
$custom: #c542ce;
$custom-light: #da81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c542ce",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 296.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61667,
    "c": 0.22821,
    "h": 325.2
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#C542CE
secondary
#9CD498
accent
#E24650
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C542CE

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

Preview Lab → · Contrast checker → · Palette generator →

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