#C54FB9#C54FB9

#C54FB9 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.9% C 0.194 H 331.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C54FB9
RGBrgb(197, 79, 185)
HSLhsl(306, 50%, 54%)
HSVhsv(306, 60%, 77%)
CMYKcmyk(0%, 59.9%, 6.1%, 22.7%)
CIE-LABlab(52.91, 59.90, -33.52)
CIE-LCHlch(52.91, 68.64, 330.77°)
OKLaboklab(61.92% 0.1712 -0.0917)
OKLCHoklch(61.92% 0.194 331.8)
XYZxyz(34.5788, 20.9675, 48.1154)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FB9 #4FC55B
analogous
#964FC5 #C54FB9 #C54F7E
triadic
#C54FB9 #B9C54F #4FB9C5
tetradic
#C54FB9 #C5964F #4FC55B #4F7EC5
square
#C54FB9 #C5964F #4FC55B #4F7EC5
split-complementary
#C54FB9 #7EC54F #4FC596
monochromatic
#74266C #A23597 #C54FB9 #D47DCB #E3ABDE

Accessibility & contrast

On white

4.04
#C54FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#C54FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FB9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FB9#FFFFFF#000000##000000
##C54FB91.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#7084B6
Tritanopia (blue-blind)
#CD597D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54fb9;
/* rgb */ color: rgb(197, 79, 185);
/* oklch */ color: oklch(61.9% 0.194 331.8);
Tailwind
colors: {
  custom: {
    50: '#d987ce',
    500: '#c54fb9',
    950: '#000000',
  },
}
SCSS
$custom: #c54fb9;
$custom-light: #d987ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fb9",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 306.102,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.19419,
    "h": 331.8
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

primary
#C54FB9
secondary
#9FD1A4
accent
#DA5C4E
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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