#C545B3#C545B3

#C545B3 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.203 H 333.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C545B3
RGBrgb(197, 69, 179)
HSLhsl(308, 52%, 52%)
HSVhsv(308, 65%, 77%)
CMYKcmyk(0%, 65%, 9.1%, 22.7%)
CIE-LABlab(51.13, 63.08, -32.82)
CIE-LCHlch(51.13, 71.11, 332.52°)
OKLaboklab(60.53% 0.1825 -0.0896)
OKLCHoklch(60.53% 0.203 333.8)
XYZxyz(33.2910, 19.3839, 44.6272)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545B3 #45C557
analogous
#9745C5 #C545B3 #C54573
triadic
#C545B3 #B3C545 #45B3C5
tetradic
#C545B3 #C59745 #45C557 #4573C5
square
#C545B3 #C59745 #45C557 #4573C5
split-complementary
#C545B3 #73C545 #45C597
monochromatic
#6D2263 #9C318D #C545B3 #D474C6 #E2A2D9

Accessibility & contrast

On white

4.31
#C545B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C545B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545B3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545B3#FFFFFF#000000##000000
##C545B31.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#6D81B0
Tritanopia (blue-blind)
#CE4F76
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c545b3;
/* rgb */ color: rgb(197, 69, 179);
/* oklch */ color: oklch(60.5% 0.203 333.8);
Tailwind
colors: {
  custom: {
    50: '#da82ca',
    500: '#c545b3',
    950: '#000000',
  },
}
SCSS
$custom: #c545b3;
$custom-light: #da82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c545b3",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 308.438,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.20332,
    "h": 333.8
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#C545B3
secondary
#97CF9F
accent
#DC604C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C545B3

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

Preview Lab → · Contrast checker → · Palette generator →

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