#C54FE1#C54FE1

#C54FE1 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.1% C 0.228 H 319.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C54FE1
RGBrgb(197, 79, 225)
HSLhsl(288, 71%, 60%)
HSVhsv(288, 65%, 88%)
CMYKcmyk(12.4%, 64.9%, 0%, 11.8%)
CIE-LABlab(54.97, 66.94, -53.13)
CIE-LCHlch(54.97, 85.47, 321.56°)
OKLaboklab(64.08% 0.1733 -0.1486)
OKLCHoklch(64.08% 0.228 319.4)
XYZxyz(39.4108, 22.9003, 73.5638)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FE1 #6BE14F
analogous
#7C4FE1 #C54FE1 #E14FB4
triadic
#C54FE1 #E1C54F #4FE1C5
tetradic
#C54FE1 #E17C4F #6BE14F #4FB4E1
square
#C54FE1 #E17C4F #6BE14F #4FB4E1
split-complementary
#C54FE1 #B4E14F #4FE17C
monochromatic
#821A9B #AE23CF #C54FE1 #D683EA #E7B8F3

Accessibility & contrast

On white

3.76
#C54FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#C54FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FE1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FE1#FFFFFF#000000##000000
##C54FE11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7CE5
Deuteranopia (green-blind)
#5988DD
Tritanopia (blue-blind)
#C56992
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c54fe1;
/* rgb */ color: rgb(197, 79, 225);
/* oklch */ color: oklch(64.1% 0.228 319.4);
Tailwind
colors: {
  custom: {
    50: '#da88eb',
    500: '#c54fe1',
    950: '#000000',
  },
}
SCSS
$custom: #c54fe1;
$custom-light: #da88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fe1",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 288.493,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.22827,
    "h": 319.4
  },
  "luminance": 0.22899
}

Semantic roles & 50–950 ramp

primary
#C54FE1
secondary
#B4E2AA
accent
#EE3A5D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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