#C54CB4#C54CB4

#C54CB4 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.3% C 0.195 H 333.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C54CB4
RGBrgb(197, 76, 180)
HSLhsl(308, 51%, 54%)
HSVhsv(308, 61%, 77%)
CMYKcmyk(0%, 61.4%, 8.6%, 22.7%)
CIE-LABlab(52.22, 60.37, -31.71)
CIE-LCHlch(52.22, 68.19, 332.29°)
OKLaboklab(61.33% 0.1742 -0.0865)
OKLCHoklch(61.33% 0.195 333.6)
XYZxyz(33.8487, 20.3371, 45.3138)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CB4 #4CC55D
analogous
#994CC5 #C54CB4 #C54C77
triadic
#C54CB4 #B4C54C #4CB4C5
tetradic
#C54CB4 #C5994C #4CC55D #4C77C5
square
#C54CB4 #C5994C #4CC55D #4C77C5
split-complementary
#C54CB4 #77C54C #4CC599
monochromatic
#722567 #A03491 #C54CB4 #D47AC7 #E3A8DB

Accessibility & contrast

On white

4.14
#C54CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C54CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CB4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CB4#FFFFFF#000000##000000
##C54CB41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B7
Deuteranopia (green-blind)
#7083B1
Tritanopia (blue-blind)
#CE5579
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c54cb4;
/* rgb */ color: rgb(197, 76, 180);
/* oklch */ color: oklch(61.3% 0.195 333.6);
Tailwind
colors: {
  custom: {
    50: '#da85cb',
    500: '#c54cb4',
    950: '#000000',
  },
}
SCSS
$custom: #c54cb4;
$custom-light: #da85cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cb4",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 308.43,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61335,
    "c": 0.19454,
    "h": 333.6
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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