#C54FC7#C54FC7

#C54FC7 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.6% C 0.206 H 327.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C54FC7
RGBrgb(197, 79, 199)
HSLhsl(299, 52%, 55%)
HSVhsv(299, 60%, 78%)
CMYKcmyk(1%, 60.3%, 0%, 22%)
CIE-LABlab(53.59, 62.25, -40.53)
CIE-LCHlch(53.59, 74.29, 326.93°)
OKLaboklab(62.63% 0.1726 -0.1119)
OKLCHoklch(62.63% 0.206 327)
XYZxyz(36.1301, 21.5881, 56.2856)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FC7 #51C74F
analogous
#894FC7 #C54FC7 #C74F8D
triadic
#C54FC7 #C7C54F #4FC7C5
tetradic
#C54FC7 #C7894F #51C74F #4F8DC7
square
#C54FC7 #C7894F #51C74F #4F8DC7
split-complementary
#C54FC7 #8DC74F #4FC789
monochromatic
#752676 #A334A4 #C54FC7 #D47DD6 #E4ACE5

Accessibility & contrast

On white

3.95
#C54FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#C54FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FC7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FC7#FFFFFF#000000##000000
##C54FC71.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c54fc7;
/* rgb */ color: rgb(197, 79, 199);
/* oklch */ color: oklch(62.6% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#da88d8',
    500: '#c54fc7',
    950: '#000000',
  },
}
SCSS
$custom: #c54fc7;
$custom-light: #da88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fc7",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 299,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6263,
    "c": 0.20568,
    "h": 327
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#C54FC7
secondary
#A0D2A0
accent
#DB4D4F
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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