#C54BB7#C54BB7

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

Color values

HEX#C54BB7
RGBrgb(197, 75, 183)
HSLhsl(307, 51%, 53%)
HSVhsv(307, 62%, 77%)
CMYKcmyk(0%, 61.9%, 7.1%, 22.7%)
CIE-LABlab(52.20, 61.27, -33.47)
CIE-LCHlch(52.20, 69.82, 331.35°)
OKLaboklab(61.37% 0.1758 -0.0916)
OKLCHoklch(61.37% 0.198 332.5)
XYZxyz(34.0893, 20.3239, 46.9180)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BB7 #4BC559
analogous
#964BC5 #C54BB7 #C54B7A
triadic
#C54BB7 #B7C54B #4BB7C5
tetradic
#C54BB7 #C5964B #4BC559 #4B7AC5
square
#C54BB7 #C5964B #4BC559 #4B7AC5
split-complementary
#C54BB7 #7AC54B #4BC596
monochromatic
#712468 #9F3393 #C54BB7 #D479CA #E3A8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54BB7#FFFFFF#000000##000000
##C54BB71.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)
#4671BA
Deuteranopia (green-blind)
#6F83B4
Tritanopia (blue-blind)
#CD557A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54bb7;
/* rgb */ color: rgb(197, 75, 183);
/* oklch */ color: oklch(61.4% 0.198 332.5);
Tailwind
colors: {
  custom: {
    50: '#da85cd',
    500: '#c54bb7',
    950: '#000000',
  },
}
SCSS
$custom: #c54bb7;
$custom-light: #da85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bb7",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 306.885,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6137,
    "c": 0.19826,
    "h": 332.5
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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