#C831B2#C831B2

#C831B2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.227 H 334.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C831B2
RGBrgb(200, 49, 178)
HSLhsl(309, 61%, 49%)
HSVhsv(309, 76%, 78%)
CMYKcmyk(0%, 75.5%, 11%, 21.6%)
CIE-LABlab(49.12, 70.56, -35.35)
CIE-LCHlch(49.12, 78.92, 333.39°)
OKLaboklab(59.16% 0.2058 -0.0967)
OKLCHoklch(59.16% 0.227 334.8)
XYZxyz(32.9540, 17.6933, 43.7904)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831B2 #31C847
analogous
#9331C8 #C831B2 #C83167
triadic
#C831B2 #B2C831 #31B2C8
tetradic
#C831B2 #C89331 #31C847 #3167C8
square
#C831B2 #C89331 #31C847 #3167C8
split-complementary
#C831B2 #67C831 #31C893
monochromatic
#66195B #972586 #C831B2 #D85FC6 #E490D7

Accessibility & contrast

On white

4.63
#C831B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C831B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C831B2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831B2#FFFFFF#000000##FFFFFF
##C831B21.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#D23F6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c831b2;
/* rgb */ color: rgb(200, 49, 178);
/* oklch */ color: oklch(59.2% 0.227 334.8);
Tailwind
colors: {
  custom: {
    50: '#dd79c9',
    500: '#c831b2',
    950: '#000000',
  },
}
SCSS
$custom: #c831b2;
$custom-light: #dd79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c831b2",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 308.742,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59155,
    "c": 0.22735,
    "h": 334.8
  },
  "luminance": 0.1769
}

Semantic roles & 50–950 ramp

primary
#C831B2
secondary
#86CE91
accent
#E45B44
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831B2

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

Preview Lab → · Contrast checker → · Palette generator →

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