#C54AC7#C54AC7

#C54AC7 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.1% C 0.212 H 327.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C54AC7
RGBrgb(197, 74, 199)
HSLhsl(299, 53%, 54%)
HSVhsv(299, 63%, 78%)
CMYKcmyk(1%, 62.8%, 0%, 22%)
CIE-LABlab(52.83, 64.34, -41.73)
CIE-LCHlch(52.83, 76.69, 327.04°)
OKLaboklab(62.08% 0.1784 -0.1154)
OKLCHoklch(62.08% 0.212 327.1)
XYZxyz(35.7830, 20.8937, 56.1699)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AC7 #4CC74A
analogous
#864AC7 #C54AC7 #C74A8A
triadic
#C54AC7 #C7C54A #4AC7C5
tetradic
#C54AC7 #C7864A #4CC74A #4A8AC7
square
#C54AC7 #C7864A #4CC74A #4A8AC7
split-complementary
#C54AC7 #8AC74A #4AC786
monochromatic
#722473 #A032A2 #C54AC7 #D479D5 #E3A7E4

Accessibility & contrast

On white

4.06
#C54AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C54AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54AC7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54AC7#FFFFFF#000000##000000
##C54AC71.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CB
Deuteranopia (green-blind)
#6684C4
Tritanopia (blue-blind)
#CA5B82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54ac7;
/* rgb */ color: rgb(197, 74, 199);
/* oklch */ color: oklch(62.1% 0.212 327.1);
Tailwind
colors: {
  custom: {
    50: '#da85d8',
    500: '#c54ac7',
    950: '#000000',
  },
}
SCSS
$custom: #c54ac7;
$custom-light: #da85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ac7",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 299.04,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62083,
    "c": 0.21247,
    "h": 327.1
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#C54AC7
secondary
#9CD19C
accent
#DC4C4E
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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