#C54EC7#C54EC7

#C54EC7 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.5% C 0.207 H 327.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C54EC7
RGBrgb(197, 78, 199)
HSLhsl(299, 52%, 54%)
HSVhsv(299, 61%, 78%)
CMYKcmyk(1%, 60.8%, 0%, 22%)
CIE-LABlab(53.43, 62.68, -40.78)
CIE-LCHlch(53.43, 74.78, 326.95°)
OKLaboklab(62.52% 0.1737 -0.1126)
OKLCHoklch(62.52% 0.207 327)
XYZxyz(36.0585, 21.4449, 56.2618)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EC7 #50C74E
analogous
#894EC7 #C54EC7 #C74E8D
triadic
#C54EC7 #C7C54E #4EC7C5
tetradic
#C54EC7 #C7894E #50C74E #4E8DC7
square
#C54EC7 #C7894E #50C74E #4E8DC7
split-complementary
#C54EC7 #8DC74E #4EC789
monochromatic
#742575 #A234A4 #C54EC7 #D47CD6 #E3ABE4

Accessibility & contrast

On white

3.97
#C54EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#C54EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EC7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EC7#FFFFFF#000000##000000
##C54EC71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#6985C4
Tritanopia (blue-blind)
#CA5E84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c54ec7;
/* rgb */ color: rgb(197, 78, 199);
/* oklch */ color: oklch(62.5% 0.207 327.0);
Tailwind
colors: {
  custom: {
    50: '#da87d8',
    500: '#c54ec7',
    950: '#000000',
  },
}
SCSS
$custom: #c54ec7;
$custom-light: #da87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ec7",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 299.008,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.20707,
    "h": 327
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#C54EC7
secondary
#A0D29F
accent
#DB4C4F
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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