#C54CBC#C54CBC

#C54CBC is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.7% C 0.201 H 330.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C54CBC
RGBrgb(197, 76, 188)
HSLhsl(304, 51%, 54%)
HSVhsv(304, 61%, 77%)
CMYKcmyk(0%, 61.4%, 4.6%, 22.7%)
CIE-LABlab(52.59, 61.67, -35.77)
CIE-LCHlch(52.59, 71.29, 329.89°)
OKLaboklab(61.73% 0.1752 -0.0982)
OKLCHoklch(61.73% 0.201 330.7)
XYZxyz(34.6873, 20.6725, 49.7304)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CBC #4CC555
analogous
#914CC5 #C54CBC #C54C7F
triadic
#C54CBC #BCC54C #4CBCC5
tetradic
#C54CBC #C5914C #4CC555 #4C7FC5
square
#C54CBC #C5914C #4CC555 #4C7FC5
split-complementary
#C54CBC #7FC54C #4CC591
monochromatic
#72256C #A03498 #C54CBC #D47ACD #E3A8DF

Accessibility & contrast

On white

4.09
#C54CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C54CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CBC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CBC#FFFFFF#000000##000000
##C54CBC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#6D83B9
Tritanopia (blue-blind)
#CC587D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c54cbc;
/* rgb */ color: rgb(197, 76, 188);
/* oklch */ color: oklch(61.7% 0.201 330.7);
Tailwind
colors: {
  custom: {
    50: '#da86d0',
    500: '#c54cbc',
    950: '#000000',
  },
}
SCSS
$custom: #c54cbc;
$custom-light: #da86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cbc",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 304.463,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.20082,
    "h": 330.7
  },
  "luminance": 0.2067
}

Semantic roles & 50–950 ramp

primary
#C54CBC
secondary
#9CD0A0
accent
#DB584D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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