#C542BC#C542BC

#C542BC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.214 H 330.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C542BC
RGBrgb(197, 66, 188)
HSLhsl(304, 53%, 52%)
HSVhsv(304, 66%, 77%)
CMYKcmyk(0%, 66.5%, 4.6%, 22.7%)
CIE-LABlab(51.15, 65.67, -38.02)
CIE-LCHlch(51.15, 75.88, 329.93°)
OKLaboklab(60.69% 0.1867 -0.1046)
OKLCHoklch(60.69% 0.214 330.7)
XYZxyz(34.0511, 19.4001, 49.5184)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C542BC #42C54B
analogous
#8D42C5 #C542BC #C5427B
triadic
#C542BC #BCC542 #42BCC5
tetradic
#C542BC #C58D42 #42C54B #427BC5
square
#C542BC #C58D42 #42C54B #427BC5
split-complementary
#C542BC #7BC542 #42C58D
monochromatic
#6C2166 #9A2F93 #C542BC #D371CD #E2A0DD

Accessibility & contrast

On white

4.30
#C542BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C542BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C542BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C542BC#FFFFFF#000000##000000
##C542BC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#386EC0
Deuteranopia (green-blind)
#6880B9
Tritanopia (blue-blind)
#CC507A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c542bc;
/* rgb */ color: rgb(197, 66, 188);
/* oklch */ color: oklch(60.7% 0.214 330.7);
Tailwind
colors: {
  custom: {
    50: '#da81d0',
    500: '#c542bc',
    950: '#000000',
  },
}
SCSS
$custom: #c542bc;
$custom-light: #da81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c542bc",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 304.122,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.21399,
    "h": 330.7
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#C542BC
secondary
#95CE99
accent
#DC554B
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C542BC

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

Preview Lab → · Contrast checker → · Palette generator →

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