#C54DBD#C54DBD

#C54DBD is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.200 H 330.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C54DBD
RGBrgb(197, 77, 189)
HSLhsl(304, 51%, 54%)
HSVhsv(304, 61%, 77%)
CMYKcmyk(0%, 60.9%, 4.1%, 22.7%)
CIE-LABlab(52.79, 61.41, -36.03)
CIE-LCHlch(52.79, 71.20, 329.60°)
OKLaboklab(61.89% 0.1741 -0.0989)
OKLCHoklch(61.89% 0.2 330.4)
XYZxyz(34.8649, 20.8546, 50.3233)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DBD #4DC555
analogous
#914DC5 #C54DBD #C54D81
triadic
#C54DBD #BDC54D #4DBDC5
tetradic
#C54DBD #C5914D #4DC555 #4D81C5
square
#C54DBD #C5914D #4DC555 #4D81C5
split-complementary
#C54DBD #81C54D #4DC591
monochromatic
#72256D #A03499 #C54DBD #D47BCE #E3A9DF

Accessibility & contrast

On white

4.06
#C54DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C54DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DBD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DBD#FFFFFF#000000##000000
##C54DBD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573C0
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#CC597E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54dbd;
/* rgb */ color: rgb(197, 77, 189);
/* oklch */ color: oklch(61.9% 0.200 330.4);
Tailwind
colors: {
  custom: {
    50: '#da86d1',
    500: '#c54dbd',
    950: '#000000',
  },
}
SCSS
$custom: #c54dbd;
$custom-light: #da86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dbd",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 304,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.20023,
    "h": 330.4
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#C54DBD
secondary
#9DD1A1
accent
#DA574D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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