#C541B1#C541B1

#C541B1 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.207 H 334.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C541B1
RGBrgb(197, 65, 177)
HSLhsl(309, 53%, 51%)
HSVhsv(309, 67%, 77%)
CMYKcmyk(0%, 67%, 10.2%, 22.7%)
CIE-LABlab(50.49, 64.32, -32.66)
CIE-LCHlch(50.49, 72.14, 333.08°)
OKLaboklab(60.03% 0.1868 -0.0892)
OKLCHoklch(60.03% 0.207 334.5)
XYZxyz(32.8523, 18.8280, 43.4903)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C541B1 #41C555
analogous
#9741C5 #C541B1 #C5416F
triadic
#C541B1 #B1C541 #41B1C5
tetradic
#C541B1 #C59741 #41C555 #416FC5
square
#C541B1 #C59741 #41C555 #416FC5
split-complementary
#C541B1 #6FC541 #41C597
monochromatic
#6B2160 #9A2F8A #C541B1 #D370C4 #E29FD7

Accessibility & contrast

On white

4.41
#C541B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C541B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C541B1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C541B1#FFFFFF#000000##000000
##C541B11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB4
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#CE4B73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c541b1;
/* rgb */ color: rgb(197, 65, 177);
/* oklch */ color: oklch(60.0% 0.207 334.5);
Tailwind
colors: {
  custom: {
    50: '#da80c8',
    500: '#c541b1',
    950: '#000000',
  },
}
SCSS
$custom: #c541b1;
$custom-light: #da80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c541b1",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 309.091,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.20699,
    "h": 334.5
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#C541B1
secondary
#94CE9D
accent
#DD614B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C541B1

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

Preview Lab → · Contrast checker → · Palette generator →

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