#C54AE7#C54AE7

#C54AE7 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.9% C 0.240 H 318.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C54AE7
RGBrgb(197, 74, 231)
HSLhsl(287, 77%, 60%)
HSVhsv(287, 68%, 91%)
CMYKcmyk(14.7%, 68%, 0%, 9.4%)
CIE-LABlab(54.59, 70.08, -57.11)
CIE-LCHlch(54.59, 90.41, 320.82°)
OKLaboklab(63.92% 0.1784 -0.1602)
OKLCHoklch(63.92% 0.24 318.1)
XYZxyz(39.8965, 22.5391, 77.8348)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AE7 #6CE74A
analogous
#764AE7 #C54AE7 #E74ABB
triadic
#C54AE7 #E7C54A #4AE7C5
tetradic
#C54AE7 #E7764A #6CE74A #4ABBE7
square
#C54AE7 #E7764A #6CE74A #4ABBE7
split-complementary
#C54AE7 #BBE74A #4AE776
monochromatic
#8315A1 #AF1DD7 #C54AE7 #D680EE #E8B6F5

Accessibility & contrast

On white

3.81
#C54AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C54AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54AE7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54AE7#FFFFFF#000000##000000
##C54AE71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#5186E3
Tritanopia (blue-blind)
#C46893
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c54ae7;
/* rgb */ color: rgb(197, 74, 231);
/* oklch */ color: oklch(63.9% 0.240 318.1);
Tailwind
colors: {
  custom: {
    50: '#db86ef',
    500: '#c54ae7',
    950: '#000000',
  },
}
SCSS
$custom: #c54ae7;
$custom-light: #db86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ae7",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 287.006,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.23977,
    "h": 318.1
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

primary
#C54AE7
secondary
#B5E5A8
accent
#F3355E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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