#832178#832178

#832178 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.165 H 333.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#832178
RGBrgb(131, 33, 120)
HSLhsl(307, 60%, 32%)
HSVhsv(307, 75%, 51%)
CMYKcmyk(0%, 74.8%, 8.4%, 48.6%)
CIE-LABlab(32.41, 50.86, -27.24)
CIE-LCHlch(32.41, 57.70, 331.83°)
OKLaboklab(43.91% 0.1467 -0.0747)
OKLCHoklch(43.91% 0.165 333)
XYZxyz(13.2942, 7.2702, 18.4688)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832178 #21832C
analogous
#5D2183 #832178 #832147
triadic
#832178 #788321 #217883
tetradic
#832178 #835D21 #21832C #214783
square
#832178 #835D21 #21832C #214783
split-complementary
#832178 #478321 #21835D
monochromatic
#21081E #52154B #832178 #B42DA5 #D24CC3

Accessibility & contrast

On white

8.56
#832178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#832178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832178
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832178#FFFFFF#000000##FFFFFF
##8321781.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D437A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#892B4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #832178;
/* rgb */ color: rgb(131, 33, 120);
/* oklch */ color: oklch(43.9% 0.165 333.0);
Tailwind
colors: {
  custom: {
    50: '#aa679f',
    500: '#832178',
    950: '#000000',
  },
}
SCSS
$custom: #832178;
$custom-light: #aa679f;
$custom-dark: #000000;
JSON
{
  "hex": "#832178",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 306.735,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.16467,
    "h": 333
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#832178
secondary
#4BB557
accent
#E35745
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #832178

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

Preview Lab → · Contrast checker → · Palette generator →

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