#C54FBB#C54FBB

#C54FBB is a light, vivid purple. Relative luminance 0.210; OKLCH L 62.0% C 0.196 H 331.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C54FBB
RGBrgb(197, 79, 187)
HSLhsl(305, 50%, 54%)
HSVhsv(305, 60%, 77%)
CMYKcmyk(0%, 59.9%, 5.1%, 22.7%)
CIE-LABlab(53.01, 60.22, -34.53)
CIE-LCHlch(53.01, 69.42, 330.17°)
OKLaboklab(62.02% 0.1714 -0.0947)
OKLCHoklch(62.02% 0.196 331.1)
XYZxyz(34.7914, 21.0526, 49.2352)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FBB #4FC559
analogous
#944FC5 #C54FBB #C54F80
triadic
#C54FBB #BBC54F #4FBBC5
tetradic
#C54FBB #C5944F #4FC559 #4F80C5
square
#C54FBB #C5944F #4FC559 #4F80C5
split-complementary
#C54FBB #80C54F #4FC594
monochromatic
#74266D #A23598 #C54FBB #D47DCD #E3ABDF

Accessibility & contrast

On white

4.03
#C54FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C54FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FBB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FBB#FFFFFF#000000##000000
##C54FBB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c54fbb;
/* rgb */ color: rgb(197, 79, 187);
/* oklch */ color: oklch(62.0% 0.196 331.1);
Tailwind
colors: {
  custom: {
    50: '#d987d0',
    500: '#c54fbb',
    950: '#000000',
  },
}
SCSS
$custom: #c54fbb;
$custom-light: #d987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fbb",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 305.085,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62018,
    "c": 0.1958,
    "h": 331.1
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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