#C545C5#C545C5

#C545C5 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.217 H 327.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C545C5
RGBrgb(197, 69, 197)
HSLhsl(300, 52%, 52%)
HSVhsv(300, 65%, 77%)
CMYKcmyk(0%, 65%, 0%, 22.7%)
CIE-LABlab(52.02, 65.99, -41.86)
CIE-LCHlch(52.02, 78.15, 327.61°)
OKLaboklab(61.46% 0.1839 -0.1157)
OKLCHoklch(61.46% 0.217 327.8)
XYZxyz(35.2316, 20.1602, 54.8481)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545C5 #45C545
analogous
#8545C5 #C545C5 #C54585
triadic
#C545C5 #C5C545 #45C5C5
tetradic
#C545C5 #C58545 #45C545 #4585C5
square
#C545C5 #C58545 #45C545 #4585C5
split-complementary
#C545C5 #85C545 #45C585
monochromatic
#6D226D #9C319C #C545C5 #D474D4 #E2A2E2

Accessibility & contrast

On white

4.17
#C545C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C545C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545C5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545C5#FFFFFF#000000##000000
##C545C51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3371C9
Deuteranopia (green-blind)
#6582C2
Tritanopia (blue-blind)
#CB567F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c545c5;
/* rgb */ color: rgb(197, 69, 197);
/* oklch */ color: oklch(61.5% 0.217 327.8);
Tailwind
colors: {
  custom: {
    50: '#da82d7',
    500: '#c545c5',
    950: '#000000',
  },
}
SCSS
$custom: #c545c5;
$custom-light: #da82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c545c5",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 300,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6146,
    "c": 0.2173,
    "h": 327.8
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#C545C5
secondary
#97CF97
accent
#DC4C4C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C545C5

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

Preview Lab → · Contrast checker → · Palette generator →

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