#C545B9#C545B9

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

Color values

HEX#C545B9
RGBrgb(197, 69, 185)
HSLhsl(306, 52%, 52%)
HSVhsv(306, 65%, 77%)
CMYKcmyk(0%, 65%, 6.1%, 22.7%)
CIE-LABlab(51.42, 64.03, -35.86)
CIE-LCHlch(51.42, 73.39, 330.75°)
OKLaboklab(60.83% 0.1831 -0.0984)
OKLCHoklch(60.83% 0.208 331.7)
XYZxyz(33.9110, 19.6319, 47.8928)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545B9 #45C551
analogous
#9145C5 #C545B9 #C54579
triadic
#C545B9 #B9C545 #45B9C5
tetradic
#C545B9 #C59145 #45C551 #4579C5
square
#C545B9 #C59145 #45C551 #4579C5
split-complementary
#C545B9 #79C545 #45C591
monochromatic
#6D2266 #9C3192 #C545B9 #D474CB #E2A2DC

Accessibility & contrast

On white

4.26
#C545B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C545B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545B9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545B9#FFFFFF#000000##000000
##C545B91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#6B81B6
Tritanopia (blue-blind)
#CD5179
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c545b9;
/* rgb */ color: rgb(197, 69, 185);
/* oklch */ color: oklch(60.8% 0.208 331.7);
Tailwind
colors: {
  custom: {
    50: '#da82ce',
    500: '#c545b9',
    950: '#000000',
  },
}
SCSS
$custom: #c545b9;
$custom-light: #da82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c545b9",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 305.625,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.20787,
    "h": 331.7
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#C545B9
secondary
#97CF9C
accent
#DC594C
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C545B9

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

Preview Lab → · Contrast checker → · Palette generator →

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