#C54CC7#C54CC7

#C54CC7 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.3% C 0.210 H 327.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C54CC7
RGBrgb(197, 76, 199)
HSLhsl(299, 52%, 54%)
HSVhsv(299, 62%, 78%)
CMYKcmyk(1%, 61.8%, 0%, 22%)
CIE-LABlab(53.13, 63.52, -41.26)
CIE-LCHlch(53.13, 75.74, 327.00°)
OKLaboklab(62.3% 0.1761 -0.114)
OKLCHoklch(62.3% 0.21 327.1)
XYZxyz(35.9186, 21.1650, 56.2151)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CC7 #4EC74C
analogous
#884CC7 #C54CC7 #C74C8C
triadic
#C54CC7 #C7C54C #4CC7C5
tetradic
#C54CC7 #C7884C #4EC74C #4C8CC7
square
#C54CC7 #C7884C #4EC74C #4C8CC7
split-complementary
#C54CC7 #8CC74C #4CC788
monochromatic
#732474 #A133A3 #C54CC7 #D47BD6 #E3A9E4

Accessibility & contrast

On white

4.01
#C54CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C54CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CC7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CC7#FFFFFF#000000##000000
##C54CC71.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#6884C4
Tritanopia (blue-blind)
#CA5C83
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54cc7;
/* rgb */ color: rgb(197, 76, 199);
/* oklch */ color: oklch(62.3% 0.210 327.1);
Tailwind
colors: {
  custom: {
    50: '#da86d8',
    500: '#c54cc7',
    950: '#000000',
  },
}
SCSS
$custom: #c54cc7;
$custom-light: #da86d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cc7",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 299.024,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62298,
    "c": 0.2098,
    "h": 327.1
  },
  "luminance": 0.21163
}

Semantic roles & 50–950 ramp

primary
#C54CC7
secondary
#9ED29D
accent
#DC4C4E
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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