#C54FF3#C54FF3

#C54FF3 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.2% C 0.244 H 314.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C54FF3
RGBrgb(197, 79, 243)
HSLhsl(283, 87%, 63%)
HSVhsv(283, 67%, 95%)
CMYKcmyk(18.9%, 67.5%, 0%, 4.7%)
CIE-LABlab(56.02, 70.39, -61.54)
CIE-LCHlch(56.02, 93.50, 318.84°)
OKLaboklab(65.17% 0.1725 -0.1732)
OKLCHoklch(65.17% 0.244 314.9)
XYZxyz(41.9970, 23.9348, 87.1843)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FF3 #7DF34F
analogous
#734FF3 #C54FF3 #F34FCF
triadic
#C54FF3 #F3C54F #4FF3C5
tetradic
#C54FF3 #F3734F #7DF34F #4FCFF3
square
#C54FF3 #F3734F #7DF34F #4FCFF3
split-complementary
#C54FF3 #CFF34F #4FF373
monochromatic
#8A0DBB #B216EF #C54FF3 #D888F7 #EBC2FB

Accessibility & contrast

On white

3.63
#C54FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#C54FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FF3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FF3#FFFFFF#000000##000000
##C54FF31.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#C1709B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c54ff3;
/* rgb */ color: rgb(197, 79, 243);
/* oklch */ color: oklch(65.2% 0.244 314.9);
Tailwind
colors: {
  custom: {
    50: '#db89f8',
    500: '#c54ff3',
    950: '#000000',
  },
}
SCSS
$custom: #c54ff3;
$custom-light: #db89f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ff3",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 243
  },
  "hsl": {
    "h": 283.171,
    "s": 87.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65171,
    "c": 0.24444,
    "h": 314.9
  },
  "luminance": 0.23933
}

Semantic roles & 50–950 ramp

primary
#C54FF3
secondary
#C2ECB2
accent
#E40241
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C54FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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