#C831AF#C831AF

#C831AF is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.225 H 335.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C831AF
RGBrgb(200, 49, 175)
HSLhsl(310, 61%, 49%)
HSVhsv(310, 76%, 78%)
CMYKcmyk(0%, 75.5%, 12.5%, 21.6%)
CIE-LABlab(48.98, 70.13, -33.82)
CIE-LCHlch(48.98, 77.86, 334.26°)
OKLaboklab(59% 0.2055 -0.0923)
OKLCHoklch(59% 0.225 335.8)
XYZxyz(32.6561, 17.5741, 42.2214)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831AF #31C84A
analogous
#9631C8 #C831AF #C83164
triadic
#C831AF #AFC831 #31AFC8
tetradic
#C831AF #C89631 #31C84A #3164C8
square
#C831AF #C89631 #31C84A #3164C8
split-complementary
#C831AF #64C831 #31C896
monochromatic
#661959 #972584 #C831AF #D85FC4 #E490D6

Accessibility & contrast

On white

4.65
#C831AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C831AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C831AF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831AF#FFFFFF#000000##FFFFFF
##C831AF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#D23D6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c831af;
/* rgb */ color: rgb(200, 49, 175);
/* oklch */ color: oklch(59.0% 0.225 335.8);
Tailwind
colors: {
  custom: {
    50: '#dd79c7',
    500: '#c831af',
    950: '#000000',
  },
}
SCSS
$custom: #c831af;
$custom-light: #dd79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c831af",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 309.934,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.22532,
    "h": 335.8
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#C831AF
secondary
#86CE92
accent
#E45E44
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831AF

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

Preview Lab → · Contrast checker → · Palette generator →

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