#832787#832787

#832787 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.170 H 326.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#832787
RGBrgb(131, 39, 135)
HSLhsl(298, 55%, 34%)
HSVhsv(298, 71%, 53%)
CMYKcmyk(3%, 71.1%, 0%, 47.1%)
CIE-LABlab(34.04, 51.23, -34.04)
CIE-LCHlch(34.04, 61.51, 326.39°)
OKLaboklab(45.35% 0.1409 -0.0945)
OKLCHoklch(45.35% 0.17 326.2)
XYZxyz(14.4585, 8.0266, 23.7047)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832787 #2B8727
analogous
#532787 #832787 #87275B
triadic
#832787 #878327 #278783
tetradic
#832787 #875327 #2B8727 #275B87
square
#832787 #875327 #2B8727 #275B87
split-complementary
#832787 #5B8727 #278753
monochromatic
#270C28 #551958 #832787 #B135B6 #CA59CF

Accessibility & contrast

On white

8.06
#832787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#832787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832787
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832787#FFFFFF#000000##FFFFFF
##8327871.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#863654
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #832787;
/* rgb */ color: rgb(131, 39, 135);
/* oklch */ color: oklch(45.4% 0.170 326.2);
Tailwind
colors: {
  custom: {
    50: '#aa6aaa',
    500: '#832787',
    950: '#000000',
  },
}
SCSS
$custom: #832787;
$custom-light: #aa6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#832787",
  "rgb": {
    "r": 131,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 297.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.16966,
    "h": 326.2
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#832787
secondary
#5AB456
accent
#DF4950
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #832787

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

Preview Lab → · Contrast checker → · Palette generator →

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