#C831C7#C831C7

#C831C7 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.242 H 328.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C831C7
RGBrgb(200, 49, 199)
HSLhsl(300, 61%, 49%)
HSVhsv(300, 76%, 78%)
CMYKcmyk(0%, 75.5%, 0.5%, 21.6%)
CIE-LABlab(50.22, 73.73, -45.84)
CIE-LCHlch(50.22, 86.82, 328.13°)
OKLaboklab(60.3% 0.2062 -0.127)
OKLCHoklch(60.3% 0.242 328.4)
XYZxyz(35.2261, 18.6021, 55.7570)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831C7 #31C832
analogous
#7E31C8 #C831C7 #C8317C
triadic
#C831C7 #C7C831 #31C7C8
tetradic
#C831C7 #C87E31 #31C832 #317CC8
square
#C831C7 #C87E31 #31C832 #317CC8
split-complementary
#C831C7 #7CC831 #31C87E
monochromatic
#661965 #972596 #C831C7 #D85FD7 #E490E3

Accessibility & contrast

On white

4.45
#C831C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C831C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C831C7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831C7#FFFFFF#000000##000000
##C831C71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B6BCB
Deuteranopia (green-blind)
#5D7EC3
Tritanopia (blue-blind)
#CF4A7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c831c7;
/* rgb */ color: rgb(200, 49, 199);
/* oklch */ color: oklch(60.3% 0.242 328.4);
Tailwind
colors: {
  custom: {
    50: '#dd7ad8',
    500: '#c831c7',
    950: '#000000',
  },
}
SCSS
$custom: #c831c7;
$custom-light: #dd7ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#c831c7",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 300.397,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60295,
    "c": 0.24223,
    "h": 328.4
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#C831C7
secondary
#86CE87
accent
#E44544
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C831C7

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

Preview Lab → · Contrast checker → · Palette generator →

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