#C54AE5#C54AE5

#C54AE5 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.8% C 0.238 H 318.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C54AE5
RGBrgb(197, 74, 229)
HSLhsl(288, 75%, 59%)
HSVhsv(288, 68%, 90%)
CMYKcmyk(14%, 67.7%, 0%, 10.2%)
CIE-LABlab(54.48, 69.71, -56.18)
CIE-LCHlch(54.48, 89.53, 321.14°)
OKLaboklab(63.8% 0.1785 -0.1574)
OKLCHoklch(63.8% 0.238 318.6)
XYZxyz(39.6157, 22.4268, 76.3556)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AE5 #6AE54A
analogous
#784AE5 #C54AE5 #E54AB8
triadic
#C54AE5 #E5C54A #4AE5C5
tetradic
#C54AE5 #E5784A #6AE54A #4AB8E5
square
#C54AE5 #E5784A #6AE54A #4AB8E5
split-complementary
#C54AE5 #B8E54A #4AE578
monochromatic
#82179E #AE1ED3 #C54AE5 #D680ED #E7B5F4

Accessibility & contrast

On white

3.83
#C54AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C54AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54AE5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54AE5#FFFFFF#000000##000000
##C54AE51.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#5286E1
Tritanopia (blue-blind)
#C56792
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c54ae5;
/* rgb */ color: rgb(197, 74, 229);
/* oklch */ color: oklch(63.8% 0.238 318.6);
Tailwind
colors: {
  custom: {
    50: '#da86ee',
    500: '#c54ae5',
    950: '#000000',
  },
}
SCSS
$custom: #c54ae5;
$custom-light: #da86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ae5",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 287.613,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.23801,
    "h": 318.6
  },
  "luminance": 0.22425
}

Semantic roles & 50–950 ramp

primary
#C54AE5
secondary
#B4E4A7
accent
#F1365D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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