#C54FBF#C54FBF

#C54FBF is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.2% C 0.199 H 329.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C54FBF
RGBrgb(197, 79, 191)
HSLhsl(303, 50%, 54%)
HSVhsv(303, 60%, 77%)
CMYKcmyk(0%, 59.9%, 3%, 22.7%)
CIE-LABlab(53.20, 60.89, -36.55)
CIE-LCHlch(53.20, 71.02, 329.03°)
OKLaboklab(62.22% 0.1718 -0.1004)
OKLCHoklch(62.22% 0.199 329.7)
XYZxyz(35.2256, 21.2263, 51.5218)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FBF #4FC555
analogous
#904FC5 #C54FBF #C54F84
triadic
#C54FBF #BFC54F #4FBFC5
tetradic
#C54FBF #C5904F #4FC555 #4F84C5
square
#C54FBF #C5904F #4FC555 #4F84C5
split-complementary
#C54FBF #84C54F #4FC590
monochromatic
#742670 #A2359C #C54FBF #D47DD0 #E3ABE0

Accessibility & contrast

On white

4.00
#C54FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#C54FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FBF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FBF#FFFFFF#000000##000000
##C54FBF1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#6D85BC
Tritanopia (blue-blind)
#CC5C80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54fbf;
/* rgb */ color: rgb(197, 79, 191);
/* oklch */ color: oklch(62.2% 0.199 329.7);
Tailwind
colors: {
  custom: {
    50: '#da87d2',
    500: '#c54fbf',
    950: '#000000',
  },
}
SCSS
$custom: #c54fbf;
$custom-light: #da87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fbf",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 303.051,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62218,
    "c": 0.19904,
    "h": 329.7
  },
  "luminance": 0.21224
}

Semantic roles & 50–950 ramp

primary
#C54FBF
secondary
#9FD1A1
accent
#DA554E
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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