#C54CBF#C54CBF

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

Color values

HEX#C54CBF
RGBrgb(197, 76, 191)
HSLhsl(303, 51%, 54%)
HSVhsv(303, 61%, 77%)
CMYKcmyk(0%, 61.4%, 3%, 22.7%)
CIE-LABlab(52.73, 62.17, -37.27)
CIE-LCHlch(52.73, 72.48, 329.05°)
OKLaboklab(61.88% 0.1755 -0.1025)
OKLCHoklch(61.88% 0.203 329.7)
XYZxyz(35.0141, 20.8032, 51.4513)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CBF #4CC552
analogous
#8E4CC5 #C54CBF #C54C82
triadic
#C54CBF #BFC54C #4CBFC5
tetradic
#C54CBF #C58E4C #4CC552 #4C82C5
square
#C54CBF #C58E4C #4CC552 #4C82C5
split-complementary
#C54CBF #82C54C #4CC58E
monochromatic
#72256E #A0349B #C54CBF #D47AD0 #E3A8E0

Accessibility & contrast

On white

4.07
#C54CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C54CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CBF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CBF#FFFFFF#000000##000000
##C54CBF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#CC597F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54cbf;
/* rgb */ color: rgb(197, 76, 191);
/* oklch */ color: oklch(61.9% 0.203 329.7);
Tailwind
colors: {
  custom: {
    50: '#da86d2',
    500: '#c54cbf',
    950: '#000000',
  },
}
SCSS
$custom: #c54cbf;
$custom-light: #da86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cbf",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 302.975,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.20323,
    "h": 329.7
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#C54CBF
secondary
#9CD09F
accent
#DB544D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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