#C545C1#C545C1

#C545C1 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.214 H 329.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C545C1
RGBrgb(197, 69, 193)
HSLhsl(302, 52%, 52%)
HSVhsv(302, 65%, 77%)
CMYKcmyk(0%, 65%, 2%, 22.7%)
CIE-LABlab(51.81, 65.33, -39.88)
CIE-LCHlch(51.81, 76.54, 328.60°)
OKLaboklab(61.25% 0.1837 -0.11)
OKLCHoklch(61.25% 0.214 329.1)
XYZxyz(34.7794, 19.9793, 52.4663)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545C1 #45C549
analogous
#8945C5 #C545C1 #C54581
triadic
#C545C1 #C1C545 #45C1C5
tetradic
#C545C1 #C58945 #45C549 #4581C5
square
#C545C1 #C58945 #45C549 #4581C5
split-complementary
#C545C1 #81C545 #45C589
monochromatic
#6D226B #9C3199 #C545C1 #D474D1 #E2A2E0

Accessibility & contrast

On white

4.20
#C545C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C545C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545C1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545C1#FFFFFF#000000##000000
##C545C11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C5
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#CC557D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c545c1;
/* rgb */ color: rgb(197, 69, 193);
/* oklch */ color: oklch(61.2% 0.214 329.1);
Tailwind
colors: {
  custom: {
    50: '#da82d4',
    500: '#c545c1',
    950: '#000000',
  },
}
SCSS
$custom: #c545c1;
$custom-light: #da82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c545c1",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 301.875,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.21411,
    "h": 329.1
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#C545C1
secondary
#97CF99
accent
#DC504C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C545C1

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

Preview Lab → · Contrast checker → · Palette generator →

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