#C841BA#C841BA

#C841BA is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.215 H 332.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C841BA
RGBrgb(200, 65, 186)
HSLhsl(306, 55%, 52%)
HSVhsv(306, 68%, 78%)
CMYKcmyk(0%, 67.5%, 7%, 21.6%)
CIE-LABlab(51.39, 66.44, -36.45)
CIE-LCHlch(51.39, 75.78, 331.25°)
OKLaboklab(60.92% 0.1908 -0.1)
OKLCHoklch(60.92% 0.215 332.3)
XYZxyz(34.5727, 19.6079, 48.4087)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C841BA #41C84F
analogous
#9241C8 #C841BA #C84177
triadic
#C841BA #BAC841 #41BAC8
tetradic
#C841BA #C89241 #41C84F #4177C8
square
#C841BA #C89241 #41C84F #4177C8
split-complementary
#C841BA #77C841 #41C892
monochromatic
#6F2066 #9E2E92 #C841BA #D670CB #E3A0DC

Accessibility & contrast

On white

4.27
#C841BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C841BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C841BA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C841BA#FFFFFF#000000##000000
##C841BA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#6B81B7
Tritanopia (blue-blind)
#D04E78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c841ba;
/* rgb */ color: rgb(200, 65, 186);
/* oklch */ color: oklch(60.9% 0.215 332.3);
Tailwind
colors: {
  custom: {
    50: '#dc80cf',
    500: '#c841ba',
    950: '#000000',
  },
}
SCSS
$custom: #c841ba;
$custom-light: #dc80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c841ba",
  "rgb": {
    "r": 200,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 306.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.21537,
    "h": 332.3
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#C841BA
secondary
#95D09B
accent
#DE5949
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#150B14
muted
#847C82

Preview Lab

Preview with #C841BA

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

Preview Lab → · Contrast checker → · Palette generator →

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