#C541B8#C541B8

#C541B8 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.212 H 332.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C541B8
RGBrgb(197, 65, 184)
HSLhsl(306, 53%, 51%)
HSVhsv(306, 67%, 77%)
CMYKcmyk(0%, 67%, 6.6%, 22.7%)
CIE-LABlab(50.82, 65.41, -36.22)
CIE-LCHlch(50.82, 74.77, 331.02°)
OKLaboklab(60.38% 0.1875 -0.0994)
OKLCHoklch(60.38% 0.212 332.1)
XYZxyz(33.5680, 19.1142, 47.2595)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C541B8 #41C54E
analogous
#9041C5 #C541B8 #C54176
triadic
#C541B8 #B8C541 #41B8C5
tetradic
#C541B8 #C59041 #41C54E #4176C5
square
#C541B8 #C59041 #41C54E #4176C5
split-complementary
#C541B8 #76C541 #41C590
monochromatic
#6B2164 #9A2F8F #C541B8 #D370CA #E29FDB

Accessibility & contrast

On white

4.35
#C541B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C541B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C541B8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C541B8#FFFFFF#000000##000000
##C541B81.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBB
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#CD4E77
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c541b8;
/* rgb */ color: rgb(197, 65, 184);
/* oklch */ color: oklch(60.4% 0.212 332.1);
Tailwind
colors: {
  custom: {
    50: '#da80cd',
    500: '#c541b8',
    950: '#000000',
  },
}
SCSS
$custom: #c541b8;
$custom-light: #da80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c541b8",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 305.909,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.21219,
    "h": 332.1
  },
  "luminance": 0.19112
}

Semantic roles & 50–950 ramp

primary
#C541B8
secondary
#94CE9A
accent
#DD594B
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C541B8

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

Preview Lab → · Contrast checker → · Palette generator →

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