#C54BC1#C54BC1

#C54BC1 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.206 H 329.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C54BC1
RGBrgb(197, 75, 193)
HSLhsl(302, 51%, 53%)
HSVhsv(302, 62%, 77%)
CMYKcmyk(0%, 61.9%, 2%, 22.7%)
CIE-LABlab(52.68, 62.92, -38.51)
CIE-LCHlch(52.68, 73.77, 328.53°)
OKLaboklab(61.87% 0.1769 -0.1061)
OKLCHoklch(61.87% 0.206 329)
XYZxyz(35.1673, 20.7551, 52.5956)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BC1 #4BC54F
analogous
#8C4BC5 #C54BC1 #C54B84
triadic
#C54BC1 #C1C54B #4BC1C5
tetradic
#C54BC1 #C58C4B #4BC54F #4B84C5
square
#C54BC1 #C58C4B #4BC54F #4B84C5
split-complementary
#C54BC1 #84C54B #4BC58C
monochromatic
#71246F #9F339C #C54BC1 #D479D1 #E3A8E1

Accessibility & contrast

On white

4.08
#C54BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C54BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BC1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BC1#FFFFFF#000000##000000
##C54BC11.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C5
Deuteranopia (green-blind)
#6A84BE
Tritanopia (blue-blind)
#CB597F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54bc1;
/* rgb */ color: rgb(197, 75, 193);
/* oklch */ color: oklch(61.9% 0.206 329.0);
Tailwind
colors: {
  custom: {
    50: '#da85d4',
    500: '#c54bc1',
    950: '#000000',
  },
}
SCSS
$custom: #c54bc1;
$custom-light: #da85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bc1",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 301.967,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61874,
    "c": 0.20622,
    "h": 329
  },
  "luminance": 0.20753
}

Semantic roles & 50–950 ramp

primary
#C54BC1
secondary
#9CD09D
accent
#DB524D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C54BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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