#C54FE6#C54FE6

#C54FE6 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.4% C 0.233 H 318.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#C54FE6
RGBrgb(197, 79, 230)
HSLhsl(287, 75%, 61%)
HSVhsv(287, 66%, 90%)
CMYKcmyk(14.3%, 65.7%, 0%, 9.8%)
CIE-LABlab(55.25, 67.88, -55.49)
CIE-LCHlch(55.25, 87.68, 320.73°)
OKLaboklab(64.37% 0.1732 -0.1555)
OKLCHoklch(64.37% 0.233 318.1)
XYZxyz(40.1029, 23.1772, 77.2088)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FE6 #70E64F
analogous
#794FE6 #C54FE6 #E64FBC
triadic
#C54FE6 #E6C54F #4FE6C5
tetradic
#C54FE6 #E6794F #70E64F #4FBCE6
square
#C54FE6 #E6794F #70E64F #4FBCE6
split-complementary
#C54FE6 #BCE64F #4FE679
monochromatic
#8517A3 #B01FD9 #C54FE6 #D785EE #E8BAF5

Accessibility & contrast

On white

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

On black

5.64
#C54FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FE6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FE6#FFFFFF#000000##000000
##C54FE61.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#107DEA
Deuteranopia (green-blind)
#5688E2
Tritanopia (blue-blind)
#C46B94
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c54fe6;
/* rgb */ color: rgb(197, 79, 230);
/* oklch */ color: oklch(64.4% 0.233 318.1);
Tailwind
colors: {
  custom: {
    50: '#da88ef',
    500: '#c54fe6',
    950: '#000000',
  },
}
SCSS
$custom: #c54fe6;
$custom-light: #da88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fe6",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 286.887,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64374,
    "c": 0.23274,
    "h": 318.1
  },
  "luminance": 0.23175
}

Semantic roles & 50–950 ramp

primary
#C54FE6
secondary
#B8E5AC
accent
#D70E3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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