#C54BD5#C54BD5

#C54BD5 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.0% C 0.223 H 322.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C54BD5
RGBrgb(197, 75, 213)
HSLhsl(293, 62%, 56%)
HSVhsv(293, 65%, 84%)
CMYKcmyk(7.5%, 64.8%, 0%, 16.5%)
CIE-LABlab(53.72, 66.38, -48.33)
CIE-LCHlch(53.72, 82.11, 323.94°)
OKLaboklab(62.96% 0.1778 -0.1345)
OKLCHoklch(62.96% 0.223 322.9)
XYZxyz(37.5511, 21.7086, 65.1502)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BD5 #5BD54B
analogous
#804BD5 #C54BD5 #D54BA0
triadic
#C54BD5 #D5C54B #4BD5C5
tetradic
#C54BD5 #D5804B #5BD54B #4BA0D5
square
#C54BD5 #D5804B #5BD54B #4BA0D5
split-complementary
#C54BD5 #A0D54B #4BD580
monochromatic
#7A1F86 #A82BB8 #C54BD5 #D57DE1 #E5AEEC

Accessibility & contrast

On white

3.93
#C54BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C54BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BD5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BD5#FFFFFF#000000##000000
##C54BD51.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A77D9
Deuteranopia (green-blind)
#5F85D2
Tritanopia (blue-blind)
#C8618A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c54bd5;
/* rgb */ color: rgb(197, 75, 213);
/* oklch */ color: oklch(63.0% 0.223 322.9);
Tailwind
colors: {
  custom: {
    50: '#da86e2',
    500: '#c54bd5',
    950: '#000000',
  },
}
SCSS
$custom: #c54bd5;
$custom-light: #da86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bd5",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 293.043,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6296,
    "c": 0.22293,
    "h": 322.9
  },
  "luminance": 0.21707
}

Semantic roles & 50–950 ramp

primary
#C54BD5
secondary
#A8DAA2
accent
#E54355
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C54BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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