#832788#832788

#832788 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.171 H 325.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#832788
RGBrgb(131, 39, 136)
HSLhsl(297, 55%, 34%)
HSVhsv(297, 71%, 53%)
CMYKcmyk(3.7%, 71.3%, 0%, 46.7%)
CIE-LABlab(34.10, 51.41, -34.57)
CIE-LCHlch(34.10, 61.95, 326.08°)
OKLaboklab(45.41% 0.1409 -0.096)
OKLCHoklch(45.41% 0.171 325.7)
XYZxyz(14.5292, 8.0548, 24.0773)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832788 #2C8827
analogous
#532788 #832788 #88275D
triadic
#832788 #888327 #278883
tetradic
#832788 #885327 #2C8827 #275D88
square
#832788 #885327 #2C8827 #275D88
split-complementary
#832788 #5D8827 #278853
monochromatic
#270C29 #551958 #832788 #B135B8 #CA5AD0

Accessibility & contrast

On white

8.04
#832788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #832788
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832788#FFFFFF#000000##FFFFFF
##8327881.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#3C5486
Tritanopia (blue-blind)
#863655
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #832788;
/* rgb */ color: rgb(131, 39, 136);
/* oklch */ color: oklch(45.4% 0.171 325.7);
Tailwind
colors: {
  custom: {
    50: '#aa6aab',
    500: '#832788',
    950: '#000000',
  },
}
SCSS
$custom: #832788;
$custom-light: #aa6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#832788",
  "rgb": {
    "r": 131,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 296.907,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.17052,
    "h": 325.7
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#832788
secondary
#5BB556
accent
#DF4951
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #832788

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

Preview Lab → · Contrast checker → · Palette generator →

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