#C54FBC#C54FBC

#C54FBC is a light, vivid purple. Relative luminance 0.211; OKLCH L 62.1% C 0.197 H 330.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C54FBC
RGBrgb(197, 79, 188)
HSLhsl(305, 50%, 54%)
HSVhsv(305, 60%, 77%)
CMYKcmyk(0%, 59.9%, 4.6%, 22.7%)
CIE-LABlab(53.05, 60.39, -35.04)
CIE-LCHlch(53.05, 69.82, 329.88°)
OKLaboklab(62.07% 0.1715 -0.0961)
OKLCHoklch(62.07% 0.197 330.7)
XYZxyz(34.8989, 21.0956, 49.8009)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FBC #4FC558
analogous
#934FC5 #C54FBC #C54F81
triadic
#C54FBC #BCC54F #4FBCC5
tetradic
#C54FBC #C5934F #4FC558 #4F81C5
square
#C54FBC #C5934F #4FC558 #4F81C5
split-complementary
#C54FBC #81C54F #4FC593
monochromatic
#74266E #A23599 #C54FBC #D47DCE #E3ABDF

Accessibility & contrast

On white

4.02
#C54FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C54FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FBC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FBC#FFFFFF#000000##000000
##C54FBC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#6F85B9
Tritanopia (blue-blind)
#CC5A7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54fbc;
/* rgb */ color: rgb(197, 79, 188);
/* oklch */ color: oklch(62.1% 0.197 330.7);
Tailwind
colors: {
  custom: {
    50: '#da87d0',
    500: '#c54fbc',
    950: '#000000',
  },
}
SCSS
$custom: #c54fbc;
$custom-light: #da87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fbc",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 304.576,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62068,
    "c": 0.1966,
    "h": 330.7
  },
  "luminance": 0.21093
}

Semantic roles & 50–950 ramp

primary
#C54FBC
secondary
#9FD1A3
accent
#DA594E
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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