#C831B5#C831B5

#C831B5 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.229 H 333.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C831B5
RGBrgb(200, 49, 181)
HSLhsl(308, 61%, 49%)
HSVhsv(308, 76%, 78%)
CMYKcmyk(0%, 75.5%, 9.5%, 21.6%)
CIE-LABlab(49.27, 71.00, -36.87)
CIE-LCHlch(49.27, 80.00, 332.55°)
OKLaboklab(59.31% 0.2059 -0.1011)
OKLCHoklch(59.31% 0.229 333.9)
XYZxyz(33.2585, 17.8151, 45.3941)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831B5 #31C844
analogous
#9031C8 #C831B5 #C8316A
triadic
#C831B5 #B5C831 #31B5C8
tetradic
#C831B5 #C89031 #31C844 #316AC8
square
#C831B5 #C89031 #31C844 #316AC8
split-complementary
#C831B5 #6AC831 #31C890
monochromatic
#66195C #972589 #C831B5 #D85FC8 #E490D9

Accessibility & contrast

On white

4.60
#C831B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C831B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C831B5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831B5#FFFFFF#000000##FFFFFF
##C831B51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B9
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#D14071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c831b5;
/* rgb */ color: rgb(200, 49, 181);
/* oklch */ color: oklch(59.3% 0.229 333.9);
Tailwind
colors: {
  custom: {
    50: '#dd79cb',
    500: '#c831b5',
    950: '#000000',
  },
}
SCSS
$custom: #c831b5;
$custom-light: #dd79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c831b5",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 307.55,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59311,
    "c": 0.22941,
    "h": 333.9
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#C831B5
secondary
#86CE90
accent
#E45844
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831B5

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

Preview Lab → · Contrast checker → · Palette generator →

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