#C54FD9#C54FD9

#C54FD9 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.6% C 0.221 H 321.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C54FD9
RGBrgb(197, 79, 217)
HSLhsl(291, 64%, 58%)
HSVhsv(291, 64%, 85%)
CMYKcmyk(9.2%, 63.6%, 0%, 14.9%)
CIE-LABlab(54.53, 65.46, -49.32)
CIE-LCHlch(54.53, 81.96, 323.01°)
OKLaboklab(63.62% 0.1733 -0.1374)
OKLCHoklch(63.62% 0.221 321.6)
XYZxyz(38.3450, 22.4740, 67.9503)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FD9 #63D94F
analogous
#804FD9 #C54FD9 #D94FA8
triadic
#C54FD9 #D9C54F #4FD9C5
tetradic
#C54FD9 #D9804F #63D94F #4FA8D9
square
#C54FD9 #D9804F #63D94F #4FA8D9
split-complementary
#C54FD9 #A8D94F #4FD980
monochromatic
#7F1F8F #AB2AC1 #C54FD9 #D681E4 #E6B4EF

Accessibility & contrast

On white

3.82
#C54FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C54FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FD9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FD9#FFFFFF#000000##000000
##C54FD91.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#5F87D6
Tritanopia (blue-blind)
#C7658D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c54fd9;
/* rgb */ color: rgb(197, 79, 217);
/* oklch */ color: oklch(63.6% 0.221 321.6);
Tailwind
colors: {
  custom: {
    50: '#da88e5',
    500: '#c54fd9',
    950: '#000000',
  },
}
SCSS
$custom: #c54fd9;
$custom-light: #da88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fd9",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 291.304,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63615,
    "c": 0.2212,
    "h": 321.6
  },
  "luminance": 0.22472
}

Semantic roles & 50–950 ramp

primary
#C54FD9
secondary
#AEDDA6
accent
#E74059
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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