#C831B0#C831B0

#C831B0 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.1% C 0.226 H 335.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C831B0
RGBrgb(200, 49, 176)
HSLhsl(310, 61%, 49%)
HSVhsv(310, 76%, 78%)
CMYKcmyk(0%, 75.5%, 12%, 21.6%)
CIE-LABlab(49.02, 70.27, -34.33)
CIE-LCHlch(49.02, 78.21, 333.96°)
OKLaboklab(59.05% 0.2056 -0.0938)
OKLCHoklch(59.05% 0.226 335.5)
XYZxyz(32.7547, 17.6136, 42.7406)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831B0 #31C849
analogous
#9531C8 #C831B0 #C83165
triadic
#C831B0 #B0C831 #31B0C8
tetradic
#C831B0 #C89531 #31C849 #3165C8
square
#C831B0 #C89531 #31C849 #3165C8
split-complementary
#C831B0 #65C831 #31C895
monochromatic
#661959 #972585 #C831B0 #D85FC4 #E490D6

Accessibility & contrast

On white

4.64
#C831B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C831B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C831B0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831B0#FFFFFF#000000##FFFFFF
##C831B01.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B3
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#D23D6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c831b0;
/* rgb */ color: rgb(200, 49, 176);
/* oklch */ color: oklch(59.1% 0.226 335.5);
Tailwind
colors: {
  custom: {
    50: '#dd79c8',
    500: '#c831b0',
    950: '#000000',
  },
}
SCSS
$custom: #c831b0;
$custom-light: #dd79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c831b0",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 309.536,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.226,
    "h": 335.5
  },
  "luminance": 0.17611
}

Semantic roles & 50–950 ramp

primary
#C831B0
secondary
#86CE92
accent
#E45D44
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831B0

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

Preview Lab → · Contrast checker → · Palette generator →

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