#C54BCA#C54BCA

#C54BCA is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.4% C 0.214 H 326.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C54BCA
RGBrgb(197, 75, 202)
HSLhsl(298, 55%, 54%)
HSVhsv(298, 63%, 79%)
CMYKcmyk(2.5%, 62.9%, 0%, 20.8%)
CIE-LABlab(53.13, 64.45, -42.97)
CIE-LCHlch(53.13, 77.46, 326.31°)
OKLaboklab(62.35% 0.1774 -0.119)
OKLCHoklch(62.35% 0.214 326.2)
XYZxyz(36.2020, 21.1690, 58.0449)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BCA #50CA4B
analogous
#864BCA #C54BCA #CA4B90
triadic
#C54BCA #CAC54B #4BCAC5
tetradic
#C54BCA #CA864B #50CA4B #4B90CA
square
#C54BCA #CA864B #50CA4B #4B90CA
split-complementary
#C54BCA #90CA4B #4BCA86
monochromatic
#742377 #A231A7 #C54BCA #D47AD8 #E3AAE6

Accessibility & contrast

On white

4.01
#C54BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C54BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BCA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BCA#FFFFFF#000000##000000
##C54BCA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#6584C7
Tritanopia (blue-blind)
#CA5D84
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c54bca;
/* rgb */ color: rgb(197, 75, 202);
/* oklch */ color: oklch(62.4% 0.214 326.2);
Tailwind
colors: {
  custom: {
    50: '#da86da',
    500: '#c54bca',
    950: '#000000',
  },
}
SCSS
$custom: #c54bca;
$custom-light: #da86da;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bca",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 297.638,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.21363,
    "h": 326.2
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#C54BCA
secondary
#A0D39D
accent
#DE4A50
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C54BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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