#C54DC8#C54DC8

#C54DC8 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.5% C 0.209 H 326.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C54DC8
RGBrgb(197, 77, 200)
HSLhsl(299, 53%, 54%)
HSVhsv(299, 62%, 78%)
CMYKcmyk(1.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(53.33, 63.27, -41.51)
CIE-LCHlch(53.33, 75.68, 326.73°)
OKLaboklab(62.46% 0.175 -0.1148)
OKLCHoklch(62.46% 0.209 326.7)
XYZxyz(36.1045, 21.3505, 56.8518)
Luminance0.2135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DC8 #50C84D
analogous
#884DC8 #C54DC8 #C84D8D
triadic
#C54DC8 #C8C54D #4DC8C5
tetradic
#C54DC8 #C8884D #50C84D #4D8DC8
square
#C54DC8 #C8884D #50C84D #4D8DC8
split-complementary
#C54DC8 #8DC84D #4DC888
monochromatic
#742476 #A233A5 #C54DC8 #D47CD6 #E3ABE5

Accessibility & contrast

On white

3.99
#C54DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C54DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DC8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DC8#FFFFFF#000000##000000
##C54DC81.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CC
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#CA5D84
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54dc8;
/* rgb */ color: rgb(197, 77, 200);
/* oklch */ color: oklch(62.5% 0.209 326.7);
Tailwind
colors: {
  custom: {
    50: '#da87d9',
    500: '#c54dc8',
    950: '#000000',
  },
}
SCSS
$custom: #c54dc8;
$custom-light: #da87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dc8",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 298.537,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6246,
    "c": 0.20928,
    "h": 326.7
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

primary
#C54DC8
secondary
#A0D29E
accent
#DC4C4F
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C15
muted
#837D83

Preview Lab

Preview with #C54DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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