#C831C0#C831C0

#C831C0 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.9% C 0.237 H 330.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C831C0
RGBrgb(200, 49, 192)
HSLhsl(303, 61%, 49%)
HSVhsv(303, 76%, 78%)
CMYKcmyk(0%, 75.5%, 4%, 21.6%)
CIE-LABlab(49.84, 72.64, -42.39)
CIE-LCHlch(49.84, 84.10, 329.74°)
OKLaboklab(59.9% 0.2063 -0.117)
OKLCHoklch(59.9% 0.237 330.4)
XYZxyz(34.4320, 18.2845, 51.5747)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831C0 #31C839
analogous
#8531C8 #C831C0 #C83175
triadic
#C831C0 #C0C831 #31C0C8
tetradic
#C831C0 #C88531 #31C839 #3175C8
square
#C831C0 #C88531 #31C839 #3175C8
split-complementary
#C831C0 #75C831 #31C885
monochromatic
#661962 #972591 #C831C0 #D85FD1 #E490DF

Accessibility & contrast

On white

4.51
#C831C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C831C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C831C0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831C0#FFFFFF#000000##000000
##C831C01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#D04677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c831c0;
/* rgb */ color: rgb(200, 49, 192);
/* oklch */ color: oklch(59.9% 0.237 330.4);
Tailwind
colors: {
  custom: {
    50: '#dd7ad3',
    500: '#c831c0',
    950: '#000000',
  },
}
SCSS
$custom: #c831c0;
$custom-light: #dd7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#c831c0",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 303.179,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59902,
    "c": 0.23716,
    "h": 330.4
  },
  "luminance": 0.18282
}

Semantic roles & 50–950 ramp

primary
#C831C0
secondary
#86CE8A
accent
#E44C44
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C831C0

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

Preview Lab → · Contrast checker → · Palette generator →

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