#C831C1#C831C1

#C831C1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.0% C 0.238 H 330.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C831C1
RGBrgb(200, 49, 193)
HSLhsl(303, 61%, 49%)
HSVhsv(303, 76%, 78%)
CMYKcmyk(0%, 75.5%, 3.5%, 21.6%)
CIE-LABlab(49.89, 72.80, -42.88)
CIE-LCHlch(49.89, 84.49, 329.50°)
OKLaboklab(59.96% 0.2063 -0.1185)
OKLCHoklch(59.96% 0.238 330.1)
XYZxyz(34.5432, 18.3290, 52.1602)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831C1 #31C838
analogous
#8431C8 #C831C1 #C83176
triadic
#C831C1 #C1C831 #31C1C8
tetradic
#C831C1 #C88431 #31C838 #3176C8
square
#C831C1 #C88431 #31C838 #3176C8
split-complementary
#C831C1 #76C831 #31C884
monochromatic
#661962 #972592 #C831C1 #D85FD2 #E490E0

Accessibility & contrast

On white

4.50
#C831C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C831C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C831C1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831C1#FFFFFF#000000##000000
##C831C11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC5
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#D04677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c831c1;
/* rgb */ color: rgb(200, 49, 193);
/* oklch */ color: oklch(60.0% 0.238 330.1);
Tailwind
colors: {
  custom: {
    50: '#dd7ad4',
    500: '#c831c1',
    950: '#000000',
  },
}
SCSS
$custom: #c831c1;
$custom-light: #dd7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#c831c1",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 302.781,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.23788,
    "h": 330.1
  },
  "luminance": 0.18326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C831C1

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

Preview Lab → · Contrast checker → · Palette generator →

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