#C54BB1#C54BB1

#C54BB1 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.1% C 0.194 H 334.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C54BB1
RGBrgb(197, 75, 177)
HSLhsl(310, 51%, 53%)
HSVhsv(310, 62%, 77%)
CMYKcmyk(0%, 61.9%, 10.2%, 22.7%)
CIE-LABlab(51.93, 60.32, -30.41)
CIE-LCHlch(51.93, 67.55, 333.25°)
OKLaboklab(61.08% 0.1751 -0.0828)
OKLCHoklch(61.08% 0.194 334.7)
XYZxyz(33.4781, 20.0794, 43.6989)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BB1 #4BC55F
analogous
#9C4BC5 #C54BB1 #C54B74
triadic
#C54BB1 #B1C54B #4BB1C5
tetradic
#C54BB1 #C59C4B #4BC55F #4B74C5
square
#C54BB1 #C59C4B #4BC55F #4B74C5
split-complementary
#C54BB1 #74C54B #4BC59C
monochromatic
#712465 #9F338E #C54BB1 #D479C5 #E3A8D9

Accessibility & contrast

On white

4.19
#C54BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C54BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BB1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BB1#FFFFFF#000000##000000
##C54BB11.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#7182AE
Tritanopia (blue-blind)
#CE5377
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54bb1;
/* rgb */ color: rgb(197, 75, 177);
/* oklch */ color: oklch(61.1% 0.194 334.7);
Tailwind
colors: {
  custom: {
    50: '#da85c8',
    500: '#c54bb1',
    950: '#000000',
  },
}
SCSS
$custom: #c54bb1;
$custom-light: #da85c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bb1",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 309.836,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6108,
    "c": 0.19366,
    "h": 334.7
  },
  "luminance": 0.20077
}

Semantic roles & 50–950 ramp

primary
#C54BB1
secondary
#9CD0A4
accent
#DB644D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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