#C54CE6#C54CE6

#C54CE6 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.1% C 0.236 H 318.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C54CE6
RGBrgb(197, 76, 230)
HSLhsl(287, 75%, 60%)
HSVhsv(287, 67%, 90%)
CMYKcmyk(14.3%, 67%, 0%, 9.8%)
CIE-LABlab(54.82, 69.10, -56.19)
CIE-LCHlch(54.82, 89.07, 320.88°)
OKLaboklab(64.06% 0.1764 -0.1575)
OKLCHoklch(64.06% 0.236 318.2)
XYZxyz(39.8914, 22.7541, 77.1383)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CE6 #6DE64C
analogous
#784CE6 #C54CE6 #E64CBA
triadic
#C54CE6 #E6C54C #4CE6C5
tetradic
#C54CE6 #E6784C #6DE64C #4CBAE6
square
#C54CE6 #E6784C #6DE64C #4CBAE6
split-complementary
#C54CE6 #BAE64C #4CE678
monochromatic
#8317A1 #AF1ED7 #C54CE6 #D682ED #E8B7F5

Accessibility & contrast

On white

3.78
#C54CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#C54CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CE6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CE6#FFFFFF#000000##000000
##C54CE61.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#C46993
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c54ce6;
/* rgb */ color: rgb(197, 76, 230);
/* oklch */ color: oklch(64.1% 0.236 318.2);
Tailwind
colors: {
  custom: {
    50: '#da87ef',
    500: '#c54ce6',
    950: '#000000',
  },
}
SCSS
$custom: #c54ce6;
$custom-light: #da87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ce6",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 287.143,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.64061,
    "c": 0.23647,
    "h": 318.2
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#C54CE6
secondary
#B6E5A9
accent
#F2365E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C54CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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