#C54BB6#C54BB6

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

Color values

HEX#C54BB6
RGBrgb(197, 75, 182)
HSLhsl(307, 51%, 53%)
HSVhsv(307, 62%, 77%)
CMYKcmyk(0%, 61.9%, 7.6%, 22.7%)
CIE-LABlab(52.16, 61.11, -32.97)
CIE-LCHlch(52.16, 69.44, 331.66°)
OKLaboklab(61.32% 0.1757 -0.0901)
OKLCHoklch(61.32% 0.197 332.8)
XYZxyz(33.9856, 20.2824, 46.3718)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BB6 #4BC55A
analogous
#974BC5 #C54BB6 #C54B79
triadic
#C54BB6 #B6C54B #4BB6C5
tetradic
#C54BB6 #C5974B #4BC55A #4B79C5
square
#C54BB6 #C5974B #4BC55A #4B79C5
split-complementary
#C54BB6 #79C54B #4BC597
monochromatic
#712468 #9F3392 #C54BB6 #D479C9 #E3A8DC

Accessibility & contrast

On white

4.15
#C54BB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C54BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BB6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BB6#FFFFFF#000000##000000
##C54BB61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#6F83B3
Tritanopia (blue-blind)
#CD557A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54bb6;
/* rgb */ color: rgb(197, 75, 182);
/* oklch */ color: oklch(61.3% 0.197 332.8);
Tailwind
colors: {
  custom: {
    50: '#da85cc',
    500: '#c54bb6',
    950: '#000000',
  },
}
SCSS
$custom: #c54bb6;
$custom-light: #da85cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bb6",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 307.377,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.19749,
    "h": 332.8
  },
  "luminance": 0.2028
}

Semantic roles & 50–950 ramp

primary
#C54BB6
secondary
#9CD0A2
accent
#DB5E4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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