#C54CD8#C54CD8

#C54CD8 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.2% C 0.224 H 322.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C54CD8
RGBrgb(197, 76, 216)
HSLhsl(292, 64%, 57%)
HSVhsv(292, 65%, 85%)
CMYKcmyk(8.8%, 64.8%, 0%, 15.3%)
CIE-LABlab(54.03, 66.52, -49.54)
CIE-LCHlch(54.03, 82.94, 323.32°)
OKLaboklab(63.24% 0.1767 -0.1381)
OKLCHoklch(63.24% 0.224 322)
XYZxyz(38.0038, 21.9991, 67.1969)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CD8 #5FD84C
analogous
#7F4CD8 #C54CD8 #D84CA5
triadic
#C54CD8 #D8C54C #4CD8C5
tetradic
#C54CD8 #D87F4C #5FD84C #4CA5D8
square
#C54CD8 #D87F4C #5FD84C #4CA5D8
split-complementary
#C54CD8 #A5D84C #4CD87F
monochromatic
#7C1E8B #A929BE #C54CD8 #D57EE3 #E6B1EE

Accessibility & contrast

On white

3.89
#C54CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#C54CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CD8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CD8#FFFFFF#000000##000000
##C54CD81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2778DC
Deuteranopia (green-blind)
#5E86D4
Tritanopia (blue-blind)
#C7638C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c54cd8;
/* rgb */ color: rgb(197, 76, 216);
/* oklch */ color: oklch(63.2% 0.224 322.0);
Tailwind
colors: {
  custom: {
    50: '#da86e5',
    500: '#c54cd8',
    950: '#000000',
  },
}
SCSS
$custom: #c54cd8;
$custom-light: #da86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cd8",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 291.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.22423,
    "h": 322
  },
  "luminance": 0.21997
}

Semantic roles & 50–950 ramp

primary
#C54CD8
secondary
#ABDCA4
accent
#E74157
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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