#C54ABA#C54ABA

#C54ABA is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.202 H 331.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C54ABA
RGBrgb(197, 74, 186)
HSLhsl(305, 51%, 53%)
HSVhsv(305, 62%, 77%)
CMYKcmyk(0%, 62.4%, 5.6%, 22.7%)
CIE-LABlab(52.19, 62.18, -35.23)
CIE-LCHlch(52.19, 71.46, 330.46°)
OKLaboklab(61.41% 0.1774 -0.0966)
OKLCHoklch(61.41% 0.202 331.4)
XYZxyz(34.3376, 20.3156, 48.5576)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54ABA #4AC555
analogous
#924AC5 #C54ABA #C54A7C
triadic
#C54ABA #BAC54A #4ABAC5
tetradic
#C54ABA #C5924A #4AC555 #4A7CC5
square
#C54ABA #C5924A #4AC555 #4A7CC5
split-complementary
#C54ABA #7CC54A #4AC592
monochromatic
#71246A #9F3395 #C54ABA #D478CC #E3A7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54ABA#FFFFFF#000000##000000
##C54ABA1.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)
#4371BD
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#CD567B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54aba;
/* rgb */ color: rgb(197, 74, 186);
/* oklch */ color: oklch(61.4% 0.202 331.4);
Tailwind
colors: {
  custom: {
    50: '#da85cf',
    500: '#c54aba',
    950: '#000000',
  },
}
SCSS
$custom: #c54aba;
$custom-light: #da85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c54aba",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 305.366,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61409,
    "c": 0.20199,
    "h": 331.4
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#C54ABA
secondary
#9BD0A0
accent
#DB5A4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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