#C54DC7#C54DC7

#C54DC7 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.4% C 0.208 H 327.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C54DC7
RGBrgb(197, 77, 199)
HSLhsl(299, 52%, 54%)
HSVhsv(299, 61%, 78%)
CMYKcmyk(1%, 61.3%, 0%, 22%)
CIE-LABlab(53.28, 63.10, -41.02)
CIE-LCHlch(53.28, 75.26, 326.97°)
OKLaboklab(62.41% 0.1749 -0.1133)
OKLCHoklch(62.41% 0.208 327.1)
XYZxyz(35.9880, 21.3039, 56.2383)
Luminance0.2130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DC7 #4FC74D
analogous
#884DC7 #C54DC7 #C74D8C
triadic
#C54DC7 #C7C54D #4DC7C5
tetradic
#C54DC7 #C7884D #4FC74D #4D8CC7
square
#C54DC7 #C7884D #4FC74D #4D8CC7
split-complementary
#C54DC7 #8CC74D #4DC788
monochromatic
#742575 #A233A3 #C54DC7 #D47CD6 #E3AAE4

Accessibility & contrast

On white

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

On black

5.26
#C54DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DC7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DC7#FFFFFF#000000##000000
##C54DC71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CB
Deuteranopia (green-blind)
#6885C4
Tritanopia (blue-blind)
#CA5D83
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54dc7;
/* rgb */ color: rgb(197, 77, 199);
/* oklch */ color: oklch(62.4% 0.208 327.1);
Tailwind
colors: {
  custom: {
    50: '#da87d8',
    500: '#c54dc7',
    950: '#000000',
  },
}
SCSS
$custom: #c54dc7;
$custom-light: #da87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dc7",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 299.016,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.20843,
    "h": 327.1
  },
  "luminance": 0.21302
}

Semantic roles & 50–950 ramp

primary
#C54DC7
secondary
#9FD29E
accent
#DC4C4F
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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