#C54AC4#C54AC4

#C54AC4 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.210 H 328.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C54AC4
RGBrgb(197, 74, 196)
HSLhsl(300, 51%, 53%)
HSVhsv(300, 62%, 77%)
CMYKcmyk(0%, 62.4%, 0.5%, 22.7%)
CIE-LABlab(52.68, 63.83, -40.24)
CIE-LCHlch(52.68, 75.46, 327.77°)
OKLaboklab(61.92% 0.1782 -0.1111)
OKLCHoklch(61.92% 0.21 328.1)
XYZxyz(35.4381, 20.7558, 54.3536)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AC4 #4AC54B
analogous
#884AC5 #C54AC4 #C54A86
triadic
#C54AC4 #C4C54A #4AC4C5
tetradic
#C54AC4 #C5884A #4AC54B #4A86C5
square
#C54AC4 #C5884A #4AC54B #4A86C5
split-complementary
#C54AC4 #86C54A #4AC588
monochromatic
#712470 #9F339E #C54AC4 #D478D3 #E3A7E2

Accessibility & contrast

On white

4.08
#C54AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C54AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54AC4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54AC4#FFFFFF#000000##000000
##C54AC41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B73C8
Deuteranopia (green-blind)
#6883C1
Tritanopia (blue-blind)
#CB5A81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54ac4;
/* rgb */ color: rgb(197, 74, 196);
/* oklch */ color: oklch(61.9% 0.210 328.1);
Tailwind
colors: {
  custom: {
    50: '#da85d6',
    500: '#c54ac4',
    950: '#000000',
  },
}
SCSS
$custom: #c54ac4;
$custom-light: #da85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ac4",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 300.488,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.21001,
    "h": 328.1
  },
  "luminance": 0.20753
}

Semantic roles & 50–950 ramp

primary
#C54AC4
secondary
#9BD09B
accent
#DB4E4D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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