#C54FE5#C54FE5

#C54FE5 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.232 H 318.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C54FE5
RGBrgb(197, 79, 229)
HSLhsl(287, 74%, 60%)
HSVhsv(287, 66%, 90%)
CMYKcmyk(14%, 65.5%, 0%, 10.2%)
CIE-LABlab(55.20, 67.70, -55.02)
CIE-LCHlch(55.20, 87.24, 320.90°)
OKLaboklab(64.31% 0.1732 -0.1541)
OKLCHoklch(64.31% 0.232 318.3)
XYZxyz(39.9629, 23.1212, 76.4713)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FE5 #6FE54F
analogous
#7A4FE5 #C54FE5 #E54FBA
triadic
#C54FE5 #E5C54F #4FE5C5
tetradic
#C54FE5 #E57A4F #6FE54F #4FBAE5
square
#C54FE5 #E57A4F #6FE54F #4FBAE5
split-complementary
#C54FE5 #BAE54F #4FE57A
monochromatic
#8418A2 #B020D7 #C54FE5 #D784ED #E8BAF5

Accessibility & contrast

On white

3.73
#C54FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#C54FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FE5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FE5#FFFFFF#000000##000000
##C54FE51.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#147CE9
Deuteranopia (green-blind)
#5688E1
Tritanopia (blue-blind)
#C46A94
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c54fe5;
/* rgb */ color: rgb(197, 79, 229);
/* oklch */ color: oklch(64.3% 0.232 318.3);
Tailwind
colors: {
  custom: {
    50: '#da88ee',
    500: '#c54fe5',
    950: '#000000',
  },
}
SCSS
$custom: #c54fe5;
$custom-light: #da88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fe5",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 287.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.23184,
    "h": 318.3
  },
  "luminance": 0.23119
}

Semantic roles & 50–950 ramp

primary
#C54FE5
secondary
#B7E5AB
accent
#D60F3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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