#C54CD1#C54CD1

#C54CD1 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.8% C 0.218 H 324.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C54CD1
RGBrgb(197, 76, 209)
HSLhsl(295, 59%, 56%)
HSVhsv(295, 64%, 82%)
CMYKcmyk(5.7%, 63.6%, 0%, 18%)
CIE-LABlab(53.65, 65.26, -46.16)
CIE-LCHlch(53.65, 79.94, 324.73°)
OKLaboklab(62.84% 0.1766 -0.1282)
OKLCHoklch(62.84% 0.218 324)
XYZxyz(37.1180, 21.6448, 62.5320)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CD1 #58D14C
analogous
#824CD1 #C54CD1 #D14C9B
triadic
#C54CD1 #D1C54C #4CD1C5
tetradic
#C54CD1 #D1824C #58D14C #4C9BD1
square
#C54CD1 #D1824C #58D14C #4C9BD1
split-complementary
#C54CD1 #9BD14C #4CD182
monochromatic
#792181 #A62EB2 #C54CD1 #D57DDE #E5ADEA

Accessibility & contrast

On white

3.94
#C54CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#C54CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CD1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CD1#FFFFFF#000000##000000
##C54CD11.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D5
Deuteranopia (green-blind)
#6285CE
Tritanopia (blue-blind)
#C96088
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c54cd1;
/* rgb */ color: rgb(197, 76, 209);
/* oklch */ color: oklch(62.8% 0.218 324.0);
Tailwind
colors: {
  custom: {
    50: '#da86df',
    500: '#c54cd1',
    950: '#000000',
  },
}
SCSS
$custom: #c54cd1;
$custom-light: #da86df;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cd1",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 294.586,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.21822,
    "h": 324
  },
  "luminance": 0.21643
}

Semantic roles & 50–950 ramp

primary
#C54CD1
secondary
#A6D8A1
accent
#E24654
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C54CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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