#C831B7#C831B7

#C831B7 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.231 H 333.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C831B7
RGBrgb(200, 49, 183)
HSLhsl(307, 61%, 49%)
HSVhsv(307, 76%, 78%)
CMYKcmyk(0%, 75.5%, 8.5%, 21.6%)
CIE-LABlab(49.37, 71.29, -37.88)
CIE-LCHlch(49.37, 80.73, 332.01°)
OKLaboklab(59.42% 0.206 -0.104)
OKLCHoklch(59.42% 0.231 333.2)
XYZxyz(33.4652, 17.8978, 46.4827)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831B7 #31C842
analogous
#8E31C8 #C831B7 #C8316C
triadic
#C831B7 #B7C831 #31B7C8
tetradic
#C831B7 #C88E31 #31C842 #316CC8
square
#C831B7 #C88E31 #31C842 #316CC8
split-complementary
#C831B7 #6CC831 #31C88E
monochromatic
#66195D #97258A #C831B7 #D85FCA #E490DA

Accessibility & contrast

On white

4.59
#C831B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C831B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C831B7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831B7#FFFFFF#000000##FFFFFF
##C831B71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BB
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#D14172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c831b7;
/* rgb */ color: rgb(200, 49, 183);
/* oklch */ color: oklch(59.4% 0.231 333.2);
Tailwind
colors: {
  custom: {
    50: '#dd79cd',
    500: '#c831b7',
    950: '#000000',
  },
}
SCSS
$custom: #c831b7;
$custom-light: #dd79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c831b7",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 306.755,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.2308,
    "h": 333.2
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#C831B7
secondary
#86CE8F
accent
#E45644
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831B7

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

Preview Lab → · Contrast checker → · Palette generator →

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