#C54CDC#C54CDC

#C54CDC is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.5% C 0.228 H 320.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C54CDC
RGBrgb(197, 76, 220)
HSLhsl(290, 67%, 58%)
HSVhsv(290, 65%, 86%)
CMYKcmyk(10.5%, 65.5%, 0%, 13.7%)
CIE-LABlab(54.25, 67.25, -51.46)
CIE-LCHlch(54.25, 84.68, 322.58°)
OKLaboklab(63.47% 0.1767 -0.1437)
OKLCHoklch(63.47% 0.228 320.9)
XYZxyz(38.5272, 22.2084, 69.9536)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CDC #63DC4C
analogous
#7D4CDC #C54CDC #DC4CAB
triadic
#C54CDC #DCC54C #4CDCC5
tetradic
#C54CDC #DC7D4C #63DC4C #4CABDC
square
#C54CDC #DC7D4C #63DC4C #4CABDC
split-complementary
#C54CDC #ABDC4C #4CDC7D
monochromatic
#7F1C91 #AB26C4 #C54CDC #D67FE6 #E6B2F0

Accessibility & contrast

On white

3.86
#C54CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#C54CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CDC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CDC#FFFFFF#000000##000000
##C54CDC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079E0
Deuteranopia (green-blind)
#5B86D8
Tritanopia (blue-blind)
#C6658E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c54cdc;
/* rgb */ color: rgb(197, 76, 220);
/* oklch */ color: oklch(63.5% 0.228 320.9);
Tailwind
colors: {
  custom: {
    50: '#da87e7',
    500: '#c54cdc',
    950: '#000000',
  },
}
SCSS
$custom: #c54cdc;
$custom-light: #da87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cdc",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 290.417,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63467,
    "c": 0.2277,
    "h": 320.9
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#C54CDC
secondary
#AEDFA5
accent
#EA3E59
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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