#C54CBD#C54CBD

#C54CBD is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.202 H 330.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C54CBD
RGBrgb(197, 76, 189)
HSLhsl(304, 51%, 54%)
HSVhsv(304, 61%, 77%)
CMYKcmyk(0%, 61.4%, 4.1%, 22.7%)
CIE-LABlab(52.64, 61.83, -36.27)
CIE-LCHlch(52.64, 71.69, 329.61°)
OKLaboklab(61.78% 0.1753 -0.0996)
OKLCHoklch(61.78% 0.202 330.4)
XYZxyz(34.7955, 20.7158, 50.3001)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CBD #4CC554
analogous
#904CC5 #C54CBD #C54C80
triadic
#C54CBD #BDC54C #4CBDC5
tetradic
#C54CBD #C5904C #4CC554 #4C80C5
square
#C54CBD #C5904C #4CC554 #4C80C5
split-complementary
#C54CBD #80C54C #4CC590
monochromatic
#72256D #A03499 #C54CBD #D47ACE #E3A8DF

Accessibility & contrast

On white

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

On black

5.14
#C54CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CBD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CBD#FFFFFF#000000##000000
##C54CBD1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#6C84BA
Tritanopia (blue-blind)
#CC587E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54cbd;
/* rgb */ color: rgb(197, 76, 189);
/* oklch */ color: oklch(61.8% 0.202 330.4);
Tailwind
colors: {
  custom: {
    50: '#da86d1',
    500: '#c54cbd',
    950: '#000000',
  },
}
SCSS
$custom: #c54cbd;
$custom-light: #da86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cbd",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 303.967,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.20162,
    "h": 330.4
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

primary
#C54CBD
secondary
#9CD0A0
accent
#DB574D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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