#C831B6#C831B6

#C831B6 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.230 H 333.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C831B6
RGBrgb(200, 49, 182)
HSLhsl(307, 61%, 49%)
HSVhsv(307, 76%, 78%)
CMYKcmyk(0%, 75.5%, 9%, 21.6%)
CIE-LABlab(49.32, 71.14, -37.38)
CIE-LCHlch(49.32, 80.36, 332.28°)
OKLaboklab(59.36% 0.206 -0.1025)
OKLCHoklch(59.36% 0.23 333.5)
XYZxyz(33.3615, 17.8563, 45.9365)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831B6 #31C843
analogous
#8F31C8 #C831B6 #C8316B
triadic
#C831B6 #B6C831 #31B6C8
tetradic
#C831B6 #C88F31 #31C843 #316BC8
square
#C831B6 #C88F31 #31C843 #316BC8
split-complementary
#C831B6 #6BC831 #31C88F
monochromatic
#66195D #972589 #C831B6 #D85FC9 #E490DA

Accessibility & contrast

On white

4.59
#C831B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C831B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C831B6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831B6#FFFFFF#000000##FFFFFF
##C831B61.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67BA
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#D14171
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c831b6;
/* rgb */ color: rgb(200, 49, 182);
/* oklch */ color: oklch(59.4% 0.230 333.5);
Tailwind
colors: {
  custom: {
    50: '#dd79cc',
    500: '#c831b6',
    950: '#000000',
  },
}
SCSS
$custom: #c831b6;
$custom-light: #dd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c831b6",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 307.152,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.23011,
    "h": 333.5
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#C831B6
secondary
#86CE8F
accent
#E45744
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831B6

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

Preview Lab → · Contrast checker → · Palette generator →

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