#C841B7#C841B7

#C841B7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.8% C 0.213 H 333.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C841B7
RGBrgb(200, 65, 183)
HSLhsl(308, 55%, 52%)
HSVhsv(308, 68%, 78%)
CMYKcmyk(0%, 67.5%, 8.5%, 21.6%)
CIE-LABlab(51.25, 65.98, -34.94)
CIE-LCHlch(51.25, 74.65, 332.10°)
OKLaboklab(60.77% 0.1905 -0.0956)
OKLCHoklch(60.77% 0.213 333.3)
XYZxyz(34.2571, 19.4816, 46.7466)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C841B7 #41C852
analogous
#9641C8 #C841B7 #C84173
triadic
#C841B7 #B7C841 #41B7C8
tetradic
#C841B7 #C89641 #41C852 #4173C8
square
#C841B7 #C89641 #41C852 #4173C8
split-complementary
#C841B7 #73C841 #41C896
monochromatic
#6F2065 #9E2E90 #C841B7 #D670C9 #E3A0DB

Accessibility & contrast

On white

4.29
#C841B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C841B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C841B7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C841B7#FFFFFF#000000##000000
##C841B71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#D14D77
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c841b7;
/* rgb */ color: rgb(200, 65, 183);
/* oklch */ color: oklch(60.8% 0.213 333.3);
Tailwind
colors: {
  custom: {
    50: '#dc80cd',
    500: '#c841b7',
    950: '#000000',
  },
}
SCSS
$custom: #c841b7;
$custom-light: #dc80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c841b7",
  "rgb": {
    "r": 200,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 307.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.21314,
    "h": 333.3
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#C841B7
secondary
#95D09C
accent
#DE5C49
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#150B13
muted
#847C82

Preview Lab

Preview with #C841B7

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

Preview Lab → · Contrast checker → · Palette generator →

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