#C54AC2#C54AC2

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

Color values

HEX#C54AC2
RGBrgb(197, 74, 194)
HSLhsl(301, 51%, 53%)
HSVhsv(301, 62%, 77%)
CMYKcmyk(0%, 62.4%, 1.5%, 22.7%)
CIE-LABlab(52.58, 63.50, -39.24)
CIE-LCHlch(52.58, 74.64, 328.28°)
OKLaboklab(61.82% 0.1781 -0.1082)
OKLCHoklch(61.82% 0.208 328.7)
XYZxyz(35.2120, 20.6653, 53.1627)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AC2 #4AC54D
analogous
#8A4AC5 #C54AC2 #C54A85
triadic
#C54AC2 #C2C54A #4AC2C5
tetradic
#C54AC2 #C58A4A #4AC54D #4A85C5
square
#C54AC2 #C58A4A #4AC54D #4A85C5
split-complementary
#C54AC2 #85C54A #4AC58A
monochromatic
#71246F #9F339C #C54AC2 #D478D2 #E3A7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54AC2#FFFFFF#000000##000000
##C54AC21.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)
#3D73C6
Deuteranopia (green-blind)
#6983BF
Tritanopia (blue-blind)
#CB597F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c54ac2;
/* rgb */ color: rgb(197, 74, 194);
/* oklch */ color: oklch(61.8% 0.208 328.7);
Tailwind
colors: {
  custom: {
    50: '#da85d5',
    500: '#c54ac2',
    950: '#000000',
  },
}
SCSS
$custom: #c54ac2;
$custom-light: #da85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ac2",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 301.463,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.20838,
    "h": 328.7
  },
  "luminance": 0.20663
}

Semantic roles & 50–950 ramp

primary
#C54AC2
secondary
#9BD09C
accent
#DB504D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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