#C545B1#C545B1

#C545B1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.4% C 0.202 H 334.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C545B1
RGBrgb(197, 69, 177)
HSLhsl(309, 52%, 52%)
HSVhsv(309, 65%, 77%)
CMYKcmyk(0%, 65%, 10.2%, 22.7%)
CIE-LABlab(51.04, 62.77, -31.79)
CIE-LCHlch(51.04, 70.37, 333.14°)
OKLaboklab(60.43% 0.1823 -0.0867)
OKLCHoklch(60.43% 0.202 334.6)
XYZxyz(33.0902, 19.3036, 43.5696)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545B1 #45C559
analogous
#9945C5 #C545B1 #C54571
triadic
#C545B1 #B1C545 #45B1C5
tetradic
#C545B1 #C59945 #45C559 #4571C5
square
#C545B1 #C59945 #45C559 #4571C5
split-complementary
#C545B1 #71C545 #45C599
monochromatic
#6D2262 #9C318B #C545B1 #D474C5 #E2A2D8

Accessibility & contrast

On white

4.32
#C545B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C545B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545B1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545B1#FFFFFF#000000##000000
##C545B11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#446DB4
Deuteranopia (green-blind)
#6E80AE
Tritanopia (blue-blind)
#CE4E75
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c545b1;
/* rgb */ color: rgb(197, 69, 177);
/* oklch */ color: oklch(60.4% 0.202 334.6);
Tailwind
colors: {
  custom: {
    50: '#da82c8',
    500: '#c545b1',
    950: '#000000',
  },
}
SCSS
$custom: #c545b1;
$custom-light: #da82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c545b1",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 309.375,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60433,
    "c": 0.20183,
    "h": 334.6
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#C545B1
secondary
#97CFA0
accent
#DC624C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C545B1

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

Preview Lab → · Contrast checker → · Palette generator →

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