#C545B8#C545B8

#C545B8 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.207 H 332.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C545B8
RGBrgb(197, 69, 184)
HSLhsl(306, 52%, 52%)
HSVhsv(306, 65%, 77%)
CMYKcmyk(0%, 65%, 6.6%, 22.7%)
CIE-LABlab(51.37, 63.87, -35.36)
CIE-LCHlch(51.37, 73.00, 331.03°)
OKLaboklab(60.78% 0.183 -0.0969)
OKLCHoklch(60.78% 0.207 332.1)
XYZxyz(33.8058, 19.5898, 47.3388)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545B8 #45C552
analogous
#9245C5 #C545B8 #C54578
triadic
#C545B8 #B8C545 #45B8C5
tetradic
#C545B8 #C59245 #45C552 #4578C5
square
#C545B8 #C59245 #45C552 #4578C5
split-complementary
#C545B8 #78C545 #45C592
monochromatic
#6D2266 #9C3191 #C545B8 #D474CA #E2A2DC

Accessibility & contrast

On white

4.27
#C545B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C545B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545B8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545B8#FFFFFF#000000##000000
##C545B81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBB
Deuteranopia (green-blind)
#6B81B5
Tritanopia (blue-blind)
#CD5178
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c545b8;
/* rgb */ color: rgb(197, 69, 184);
/* oklch */ color: oklch(60.8% 0.207 332.1);
Tailwind
colors: {
  custom: {
    50: '#da82cd',
    500: '#c545b8',
    950: '#000000',
  },
}
SCSS
$custom: #c545b8;
$custom-light: #da82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c545b8",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 306.094,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.2071,
    "h": 332.1
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#C545B8
secondary
#97CF9D
accent
#DC5B4C
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C545B8

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

Preview Lab → · Contrast checker → · Palette generator →

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