#C54CE3#C54CE3

#C54CE3 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.9% C 0.234 H 319.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C54CE3
RGBrgb(197, 76, 227)
HSLhsl(288, 73%, 59%)
HSVhsv(288, 67%, 89%)
CMYKcmyk(13.2%, 66.5%, 0%, 11%)
CIE-LABlab(54.64, 68.54, -54.78)
CIE-LCHlch(54.64, 87.74, 321.37°)
OKLaboklab(63.88% 0.1765 -0.1534)
OKLCHoklch(63.88% 0.234 319)
XYZxyz(39.4737, 22.5871, 74.9386)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CE3 #6AE34C
analogous
#794CE3 #C54CE3 #E34CB6
triadic
#C54CE3 #E3C54C #4CE3C5
tetradic
#C54CE3 #E3794C #6AE34C #4CB6E3
square
#C54CE3 #E3794C #6AE34C #4CB6E3
split-complementary
#C54CE3 #B6E34C #4CE379
monochromatic
#82189C #AE21D1 #C54CE3 #D681EB #E7B6F4

Accessibility & contrast

On white

3.81
#C54CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C54CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CE3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CE3#FFFFFF#000000##000000
##C54CE31.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7BE7
Deuteranopia (green-blind)
#5687DF
Tritanopia (blue-blind)
#C56792
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c54ce3;
/* rgb */ color: rgb(197, 76, 227);
/* oklch */ color: oklch(63.9% 0.234 319.0);
Tailwind
colors: {
  custom: {
    50: '#da87ec',
    500: '#c54ce3',
    950: '#000000',
  },
}
SCSS
$custom: #c54ce3;
$custom-light: #da87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ce3",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 288.079,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6388,
    "c": 0.23383,
    "h": 319
  },
  "luminance": 0.22585
}

Semantic roles & 50–950 ramp

primary
#C54CE3
secondary
#B4E3A8
accent
#F0385D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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