#C831C5#C831C5

#C831C5 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.241 H 328.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C831C5
RGBrgb(200, 49, 197)
HSLhsl(301, 61%, 49%)
HSVhsv(301, 76%, 78%)
CMYKcmyk(0%, 75.5%, 1.5%, 21.6%)
CIE-LABlab(50.11, 73.42, -44.86)
CIE-LCHlch(50.11, 86.03, 328.57°)
OKLaboklab(60.18% 0.2063 -0.1242)
OKLCHoklch(60.18% 0.241 328.9)
XYZxyz(34.9955, 18.5099, 54.5421)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831C5 #31C834
analogous
#8031C8 #C831C5 #C8317A
triadic
#C831C5 #C5C831 #31C5C8
tetradic
#C831C5 #C88031 #31C834 #317AC8
square
#C831C5 #C88031 #31C834 #317AC8
split-complementary
#C831C5 #7AC831 #31C880
monochromatic
#661964 #972595 #C831C5 #D85FD5 #E490E2

Accessibility & contrast

On white

4.47
#C831C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C831C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C831C5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831C5#FFFFFF#000000##000000
##C831C51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#126BC9
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#CF497A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c831c5;
/* rgb */ color: rgb(200, 49, 197);
/* oklch */ color: oklch(60.2% 0.241 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd7ad7',
    500: '#c831c5',
    950: '#000000',
  },
}
SCSS
$custom: #c831c5;
$custom-light: #dd7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#c831c5",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 301.192,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.24077,
    "h": 328.9
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#C831C5
secondary
#86CE88
accent
#E44744
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C831C5

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

Preview Lab → · Contrast checker → · Palette generator →

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