#C831C2#C831C2

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

Color values

HEX#C831C2
RGBrgb(200, 49, 194)
HSLhsl(302, 61%, 49%)
HSVhsv(302, 76%, 78%)
CMYKcmyk(0%, 75.5%, 3%, 21.6%)
CIE-LABlab(49.95, 72.95, -43.38)
CIE-LCHlch(49.95, 84.87, 329.26°)
OKLaboklab(60.01% 0.2063 -0.1199)
OKLCHoklch(60.01% 0.239 329.8)
XYZxyz(34.6551, 18.3737, 52.7497)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831C2 #31C837
analogous
#8331C8 #C831C2 #C83177
triadic
#C831C2 #C2C831 #31C2C8
tetradic
#C831C2 #C88331 #31C837 #3177C8
square
#C831C2 #C88331 #31C837 #3177C8
split-complementary
#C831C2 #77C831 #31C883
monochromatic
#661963 #972592 #C831C2 #D85FD3 #E490E0

Accessibility & contrast

On white

4.49
#C831C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C831C2#FFFFFF#000000##000000
##C831C21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#196AC6
Deuteranopia (green-blind)
#5F7EBE
Tritanopia (blue-blind)
#CF4778
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c831c2;
/* rgb */ color: rgb(200, 49, 194);
/* oklch */ color: oklch(60.0% 0.239 329.8);
Tailwind
colors: {
  custom: {
    50: '#dd7ad5',
    500: '#c831c2',
    950: '#000000',
  },
}
SCSS
$custom: #c831c2;
$custom-light: #dd7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#c831c2",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 302.384,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.2386,
    "h": 329.8
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#C831C2
secondary
#86CE89
accent
#E44A44
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C831C2

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

Preview Lab → · Contrast checker → · Palette generator →

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