#C54FBD#C54FBD

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

Color values

HEX#C54FBD
RGBrgb(197, 79, 189)
HSLhsl(304, 50%, 54%)
HSVhsv(304, 60%, 77%)
CMYKcmyk(0%, 59.9%, 4.1%, 22.7%)
CIE-LABlab(53.10, 60.56, -35.54)
CIE-LCHlch(53.10, 70.22, 329.59°)
OKLaboklab(62.12% 0.1716 -0.0975)
OKLCHoklch(62.12% 0.197 330.4)
XYZxyz(35.0070, 21.1388, 50.3706)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FBD #4FC557
analogous
#924FC5 #C54FBD #C54F82
triadic
#C54FBD #BDC54F #4FBDC5
tetradic
#C54FBD #C5924F #4FC557 #4F82C5
square
#C54FBD #C5924F #4FC557 #4F82C5
split-complementary
#C54FBD #82C54F #4FC592
monochromatic
#74266E #A2359A #C54FBD #D47DCE #E3ABE0

Accessibility & contrast

On white

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

On black

5.23
#C54FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FBD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FBD#FFFFFF#000000##000000
##C54FBD1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774C0
Deuteranopia (green-blind)
#6E85BA
Tritanopia (blue-blind)
#CC5B7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54fbd;
/* rgb */ color: rgb(197, 79, 189);
/* oklch */ color: oklch(62.1% 0.197 330.4);
Tailwind
colors: {
  custom: {
    50: '#da87d1',
    500: '#c54fbd',
    950: '#000000',
  },
}
SCSS
$custom: #c54fbd;
$custom-light: #da87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fbd",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 304.068,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62118,
    "c": 0.19742,
    "h": 330.4
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#C54FBD
secondary
#9FD1A2
accent
#DA574E
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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