#C841B2#C841B2

#C841B2 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.210 H 335.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C841B2
RGBrgb(200, 65, 178)
HSLhsl(310, 55%, 52%)
HSVhsv(310, 68%, 78%)
CMYKcmyk(0%, 67.5%, 11%, 21.6%)
CIE-LABlab(51.01, 65.21, -32.39)
CIE-LCHlch(51.01, 72.81, 333.59°)
OKLaboklab(60.52% 0.19 -0.0883)
OKLCHoklch(60.52% 0.21 335.1)
XYZxyz(33.7459, 19.2772, 44.0544)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C841B2 #41C857
analogous
#9B41C8 #C841B2 #C8416F
triadic
#C841B2 #B2C841 #41B2C8
tetradic
#C841B2 #C89B41 #41C857 #416FC8
square
#C841B2 #C89B41 #41C857 #416FC8
split-complementary
#C841B2 #6FC841 #41C89B
monochromatic
#6F2062 #9E2E8C #C841B2 #D670C5 #E3A0D8

Accessibility & contrast

On white

4.33
#C841B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C841B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C841B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C841B2#FFFFFF#000000##000000
##C841B21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#D24B74
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c841b2;
/* rgb */ color: rgb(200, 65, 178);
/* oklch */ color: oklch(60.5% 0.210 335.1);
Tailwind
colors: {
  custom: {
    50: '#dc80c9',
    500: '#c841b2',
    950: '#000000',
  },
}
SCSS
$custom: #c841b2;
$custom-light: #dc80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c841b2",
  "rgb": {
    "r": 200,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 309.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.20951,
    "h": 335.1
  },
  "luminance": 0.19274
}

Semantic roles & 50–950 ramp

primary
#C841B2
secondary
#95D09E
accent
#DE6249
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#150B13
muted
#847C82

Preview Lab

Preview with #C841B2

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

Preview Lab → · Contrast checker → · Palette generator →

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