#C545B2#C545B2

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

Color values

HEX#C545B2
RGBrgb(197, 69, 178)
HSLhsl(309, 52%, 52%)
HSVhsv(309, 65%, 77%)
CMYKcmyk(0%, 65%, 9.6%, 22.7%)
CIE-LABlab(51.09, 62.93, -32.30)
CIE-LCHlch(51.09, 70.74, 332.83°)
OKLaboklab(60.48% 0.1824 -0.0882)
OKLCHoklch(60.48% 0.203 334.2)
XYZxyz(33.1902, 19.3436, 44.0965)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545B2 #45C558
analogous
#9845C5 #C545B2 #C54572
triadic
#C545B2 #B2C545 #45B2C5
tetradic
#C545B2 #C59845 #45C558 #4572C5
square
#C545B2 #C59845 #45C558 #4572C5
split-complementary
#C545B2 #72C545 #45C598
monochromatic
#6D2262 #9C318C #C545B2 #D474C5 #E2A2D9

Accessibility & contrast

On white

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

On black

4.87
#C545B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545B2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545B2#FFFFFF#000000##000000
##C545B21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#6E80AF
Tritanopia (blue-blind)
#CE4F75
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c545b2;
/* rgb */ color: rgb(197, 69, 178);
/* oklch */ color: oklch(60.5% 0.203 334.2);
Tailwind
colors: {
  custom: {
    50: '#da82c9',
    500: '#c545b2',
    950: '#000000',
  },
}
SCSS
$custom: #c545b2;
$custom-light: #da82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c545b2",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 308.906,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.20257,
    "h": 334.2
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C545B2

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

Preview Lab → · Contrast checker → · Palette generator →

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