#C541B2#C541B2

#C541B2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.208 H 334.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C541B2
RGBrgb(197, 65, 178)
HSLhsl(309, 53%, 51%)
HSVhsv(309, 67%, 77%)
CMYKcmyk(0%, 67%, 9.6%, 22.7%)
CIE-LABlab(50.53, 64.47, -33.17)
CIE-LCHlch(50.53, 72.51, 332.77°)
OKLaboklab(60.08% 0.1869 -0.0906)
OKLCHoklch(60.08% 0.208 334.1)
XYZxyz(32.9524, 18.8680, 44.0172)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C541B2 #41C554
analogous
#9641C5 #C541B2 #C54170
triadic
#C541B2 #B2C541 #41B2C5
tetradic
#C541B2 #C59641 #41C554 #4170C5
square
#C541B2 #C59641 #41C554 #4170C5
split-complementary
#C541B2 #70C541 #41C596
monochromatic
#6B2160 #9A2F8A #C541B2 #D370C5 #E29FD8

Accessibility & contrast

On white

4.40
#C541B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C541B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C541B2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C541B2#FFFFFF#000000##000000
##C541B21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#6C7FAF
Tritanopia (blue-blind)
#CE4B74
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c541b2;
/* rgb */ color: rgb(197, 65, 178);
/* oklch */ color: oklch(60.1% 0.208 334.1);
Tailwind
colors: {
  custom: {
    50: '#da80c9',
    500: '#c541b2',
    950: '#000000',
  },
}
SCSS
$custom: #c541b2;
$custom-light: #da80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c541b2",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 308.636,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.20773,
    "h": 334.1
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#C541B2
secondary
#94CE9C
accent
#DD604B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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