#C54BD2#C54BD2

#C54BD2 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.8% C 0.220 H 323.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C54BD2
RGBrgb(197, 75, 210)
HSLhsl(294, 60%, 56%)
HSVhsv(294, 64%, 82%)
CMYKcmyk(6.2%, 64.3%, 0%, 17.6%)
CIE-LABlab(53.55, 65.85, -46.88)
CIE-LCHlch(53.55, 80.83, 324.55°)
OKLaboklab(62.79% 0.1777 -0.1303)
OKLCHoklch(62.79% 0.22 323.7)
XYZxyz(37.1738, 21.5577, 63.1633)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BD2 #58D24B
analogous
#814BD2 #C54BD2 #D24B9B
triadic
#C54BD2 #D2C54B #4BD2C5
tetradic
#C54BD2 #D2814B #58D24B #4B9BD2
square
#C54BD2 #D2814B #58D24B #4B9BD2
split-complementary
#C54BD2 #9BD24B #4BD281
monochromatic
#792182 #A62DB3 #C54BD2 #D57CDE #E5ADEA

Accessibility & contrast

On white

3.95
#C54BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C54BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BD2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BD2#FFFFFF#000000##000000
##C54BD21.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D6
Deuteranopia (green-blind)
#6185CF
Tritanopia (blue-blind)
#C86088
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c54bd2;
/* rgb */ color: rgb(197, 75, 210);
/* oklch */ color: oklch(62.8% 0.220 323.7);
Tailwind
colors: {
  custom: {
    50: '#da86e0',
    500: '#c54bd2',
    950: '#000000',
  },
}
SCSS
$custom: #c54bd2;
$custom-light: #da86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bd2",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 294.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62791,
    "c": 0.22036,
    "h": 323.7
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#C54BD2
secondary
#A6D8A0
accent
#E34554
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C54BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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