#C54DC2#C54DC2

#C54DC2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.1% C 0.204 H 328.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C54DC2
RGBrgb(197, 77, 194)
HSLhsl(302, 51%, 54%)
HSVhsv(302, 61%, 77%)
CMYKcmyk(0%, 60.9%, 1.5%, 22.7%)
CIE-LABlab(53.03, 62.25, -38.53)
CIE-LCHlch(53.03, 73.21, 328.24°)
OKLaboklab(62.15% 0.1746 -0.1062)
OKLCHoklch(62.15% 0.204 328.7)
XYZxyz(35.4170, 21.0755, 53.2310)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DC2 #4DC550
analogous
#8C4DC5 #C54DC2 #C54D86
triadic
#C54DC2 #C2C54D #4DC2C5
tetradic
#C54DC2 #C58C4D #4DC550 #4D86C5
square
#C54DC2 #C58C4D #4DC550 #4D86C5
split-complementary
#C54DC2 #86C54D #4DC58C
monochromatic
#722570 #A0349E #C54DC2 #D47BD2 #E3A9E2

Accessibility & contrast

On white

4.03
#C54DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C54DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DC2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DC2#FFFFFF#000000##000000
##C54DC21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4174C6
Deuteranopia (green-blind)
#6B84BF
Tritanopia (blue-blind)
#CB5B81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54dc2;
/* rgb */ color: rgb(197, 77, 194);
/* oklch */ color: oklch(62.1% 0.204 328.7);
Tailwind
colors: {
  custom: {
    50: '#da86d5',
    500: '#c54dc2',
    950: '#000000',
  },
}
SCSS
$custom: #c54dc2;
$custom-light: #da86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dc2",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 301.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62146,
    "c": 0.2043,
    "h": 328.7
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#C54DC2
secondary
#9DD19F
accent
#DA514D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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