#C54BB8#C54BB8

#C54BB8 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.4% C 0.199 H 332.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C54BB8
RGBrgb(197, 75, 184)
HSLhsl(306, 51%, 53%)
HSVhsv(306, 62%, 77%)
CMYKcmyk(0%, 61.9%, 6.6%, 22.7%)
CIE-LABlab(52.25, 61.44, -33.98)
CIE-LCHlch(52.25, 70.21, 331.05°)
OKLaboklab(61.42% 0.176 -0.093)
OKLCHoklch(61.42% 0.199 332.1)
XYZxyz(34.1937, 20.3657, 47.4681)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BB8 #4BC558
analogous
#954BC5 #C54BB8 #C54B7B
triadic
#C54BB8 #B8C54B #4BB8C5
tetradic
#C54BB8 #C5954B #4BC558 #4B7BC5
square
#C54BB8 #C5954B #4BC558 #4B7BC5
split-complementary
#C54BB8 #7BC54B #4BC595
monochromatic
#712469 #9F3394 #C54BB8 #D479CA #E3A8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54BB8#FFFFFF#000000##000000
##C54BB81.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)
#4672BB
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#CD567B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c54bb8;
/* rgb */ color: rgb(197, 75, 184);
/* oklch */ color: oklch(61.4% 0.199 332.1);
Tailwind
colors: {
  custom: {
    50: '#da85cd',
    500: '#c54bb8',
    950: '#000000',
  },
}
SCSS
$custom: #c54bb8;
$custom-light: #da85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bb8",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 306.393,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.19904,
    "h": 332.1
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#C54BB8
secondary
#9CD0A1
accent
#DB5C4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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