#832174#832174

#832174 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 335.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#832174
RGBrgb(131, 33, 116)
HSLhsl(309, 60%, 32%)
HSVhsv(309, 75%, 51%)
CMYKcmyk(0%, 74.8%, 11.5%, 48.6%)
CIE-LABlab(32.20, 50.22, -25.04)
CIE-LCHlch(32.20, 56.12, 333.50°)
OKLaboklab(43.69% 0.1464 -0.0684)
OKLCHoklch(43.69% 0.162 335)
XYZxyz(13.0565, 7.1751, 17.2169)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832174 #218330
analogous
#612183 #832174 #832143
triadic
#832174 #748321 #217483
tetradic
#832174 #836121 #218330 #214383
square
#832174 #836121 #218330 #214383
split-complementary
#832174 #438321 #218361
monochromatic
#21081D #521549 #832174 #B42D9F #D24CBE

Accessibility & contrast

On white

8.62
#832174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#832174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832174
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832174#FFFFFF#000000##FFFFFF
##8321741.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#8A2948
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #832174;
/* rgb */ color: rgb(131, 33, 116);
/* oklch */ color: oklch(43.7% 0.162 335.0);
Tailwind
colors: {
  custom: {
    50: '#aa679c',
    500: '#832174',
    950: '#000000',
  },
}
SCSS
$custom: #832174;
$custom-light: #aa679c;
$custom-dark: #000000;
JSON
{
  "hex": "#832174",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 309.184,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.16162,
    "h": 335
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#832174
secondary
#4BB55B
accent
#E35D45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #832174

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

Preview Lab → · Contrast checker → · Palette generator →

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