#C54FF2#C54FF2

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

Color values

HEX#C54FF2
RGBrgb(197, 79, 242)
HSLhsl(283, 86%, 63%)
HSVhsv(283, 67%, 95%)
CMYKcmyk(18.6%, 67.4%, 0%, 5.1%)
CIE-LABlab(55.96, 70.19, -61.08)
CIE-LCHlch(55.96, 93.05, 318.97°)
OKLaboklab(65.11% 0.1726 -0.1718)
OKLCHoklch(65.11% 0.244 315.1)
XYZxyz(41.8464, 23.8746, 86.3911)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FF2 #7CF24F
analogous
#744FF2 #C54FF2 #F24FCD
triadic
#C54FF2 #F2C54F #4FF2C5
tetradic
#C54FF2 #F2744F #7CF24F #4FCDF2
square
#C54FF2 #F2744F #7CF24F #4FCDF2
split-complementary
#C54FF2 #CDF24F #4FF274
monochromatic
#8A0EB9 #B216EE #C54FF2 #D888F6 #EBC1FA

Accessibility & contrast

On white

3.64
#C54FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#C54FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FF2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FF2#FFFFFF#000000##000000
##C54FF21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#4B89EE
Tritanopia (blue-blind)
#C16F9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c54ff2;
/* rgb */ color: rgb(197, 79, 242);
/* oklch */ color: oklch(65.1% 0.244 315.1);
Tailwind
colors: {
  custom: {
    50: '#db89f7',
    500: '#c54ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c54ff2;
$custom-light: #db89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ff2",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 283.436,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65109,
    "c": 0.24354,
    "h": 315.1
  },
  "luminance": 0.23873
}

Semantic roles & 50–950 ramp

primary
#C54FF2
secondary
#C1ECB1
accent
#E30341
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C54FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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