#C54FD5#C54FD5

#C54FD5 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.218 H 322.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C54FD5
RGBrgb(197, 79, 213)
HSLhsl(293, 61%, 57%)
HSVhsv(293, 63%, 84%)
CMYKcmyk(7.5%, 62.9%, 0%, 16.5%)
CIE-LABlab(54.31, 64.73, -47.39)
CIE-LCHlch(54.31, 80.22, 323.79°)
OKLaboklab(63.39% 0.1732 -0.1318)
OKLCHoklch(63.39% 0.218 322.7)
XYZxyz(37.8310, 22.2684, 65.2434)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FD5 #5FD54F
analogous
#824FD5 #C54FD5 #D54FA2
triadic
#C54FD5 #D5C54F #4FD5C5
tetradic
#C54FD5 #D5824F #5FD54F #4FA2D5
square
#C54FD5 #D5824F #5FD54F #4FA2D5
split-complementary
#C54FD5 #A2D54F #4FD582
monochromatic
#7C2189 #A92CBA #C54FD5 #D580E1 #E6B2ED

Accessibility & contrast

On white

3.85
#C54FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#C54FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FD5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FD5#FFFFFF#000000##000000
##C54FD51.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3179D9
Deuteranopia (green-blind)
#6187D2
Tritanopia (blue-blind)
#C8648B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c54fd5;
/* rgb */ color: rgb(197, 79, 213);
/* oklch */ color: oklch(63.4% 0.218 322.7);
Tailwind
colors: {
  custom: {
    50: '#da88e2',
    500: '#c54fd5',
    950: '#000000',
  },
}
SCSS
$custom: #c54fd5;
$custom-light: #da88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fd5",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 292.836,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.2177,
    "h": 322.7
  },
  "luminance": 0.22266
}

Semantic roles & 50–950 ramp

primary
#C54FD5
secondary
#ABDBA5
accent
#E54356
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C54FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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