#C831B9#C831B9

#C831B9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.232 H 332.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C831B9
RGBrgb(200, 49, 185)
HSLhsl(306, 61%, 49%)
HSVhsv(306, 76%, 78%)
CMYKcmyk(0%, 75.5%, 7.5%, 21.6%)
CIE-LABlab(49.47, 71.59, -38.89)
CIE-LCHlch(49.47, 81.47, 331.49°)
OKLaboklab(59.52% 0.2061 -0.1069)
OKLCHoklch(59.52% 0.232 332.6)
XYZxyz(33.6748, 17.9816, 47.5868)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831B9 #31C840
analogous
#8C31C8 #C831B9 #C8316E
triadic
#C831B9 #B9C831 #31B9C8
tetradic
#C831B9 #C88C31 #31C840 #316EC8
square
#C831B9 #C88C31 #31C840 #316EC8
split-complementary
#C831B9 #6EC831 #31C88C
monochromatic
#66195E #97258C #C831B9 #D85FCC #E490DB

Accessibility & contrast

On white

4.57
#C831B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C831B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C831B9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831B9#FFFFFF#000000##000000
##C831B91.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#D14273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c831b9;
/* rgb */ color: rgb(200, 49, 185);
/* oklch */ color: oklch(59.5% 0.232 332.6);
Tailwind
colors: {
  custom: {
    50: '#dd79ce',
    500: '#c831b9',
    950: '#000000',
  },
}
SCSS
$custom: #c831b9;
$custom-light: #dd79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c831b9",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 305.96,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.2322,
    "h": 332.6
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#C831B9
secondary
#86CE8E
accent
#E45444
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C831B9

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

Preview Lab → · Contrast checker → · Palette generator →

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