#C54BB4#C54BB4

#C54BB4 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.2% C 0.196 H 333.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C54BB4
RGBrgb(197, 75, 180)
HSLhsl(308, 51%, 53%)
HSVhsv(308, 62%, 77%)
CMYKcmyk(0%, 61.9%, 8.6%, 22.7%)
CIE-LABlab(52.06, 60.80, -31.95)
CIE-LCHlch(52.06, 68.68, 332.28°)
OKLaboklab(61.22% 0.1755 -0.0872)
OKLCHoklch(61.22% 0.196 333.6)
XYZxyz(33.7804, 20.2004, 45.2911)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BB4 #4BC55C
analogous
#994BC5 #C54BB4 #C54B77
triadic
#C54BB4 #B4C54B #4BB4C5
tetradic
#C54BB4 #C5994B #4BC55C #4B77C5
square
#C54BB4 #C5994B #4BC55C #4B77C5
split-complementary
#C54BB4 #77C54B #4BC599
monochromatic
#712466 #9F3390 #C54BB4 #D479C7 #E3A8DB

Accessibility & contrast

On white

4.17
#C54BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C54BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BB4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BB4#FFFFFF#000000##000000
##C54BB41.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B7
Deuteranopia (green-blind)
#7083B1
Tritanopia (blue-blind)
#CE5479
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54bb4;
/* rgb */ color: rgb(197, 75, 180);
/* oklch */ color: oklch(61.2% 0.196 333.6);
Tailwind
colors: {
  custom: {
    50: '#da85cb',
    500: '#c54bb4',
    950: '#000000',
  },
}
SCSS
$custom: #c54bb4;
$custom-light: #da85cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bb4",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 308.361,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.19594,
    "h": 333.6
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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