#832DAB#832DAB

#832DAB is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.195 H 312.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#832DAB
RGBrgb(131, 45, 171)
HSLhsl(281, 58%, 42%)
HSVhsv(281, 74%, 67%)
CMYKcmyk(23.4%, 73.7%, 0%, 32.9%)
CIE-LABlab(37.19, 55.96, -50.87)
CIE-LCHlch(37.19, 75.63, 317.73°)
OKLaboklab(48.35% 0.132 -0.1438)
OKLCHoklch(48.35% 0.195 312.6)
XYZxyz(17.6478, 9.6429, 39.4518)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832DAB #55AB2D
analogous
#442DAB #832DAB #AB2D94
triadic
#832DAB #AB832D #2DAB83
tetradic
#832DAB #AB442D #55AB2D #2D94AB
square
#832DAB #AB442D #55AB2D #2D94AB
split-complementary
#832DAB #94AB2D #2DAB44
monochromatic
#39144A #5E207B #832DAB #A347CE #BB77DB

Accessibility & contrast

On white

7.17
#832DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#832DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832DAB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832DAB#FFFFFF#000000##FFFFFF
##832DAB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#1E59A8
Tritanopia (blue-blind)
#7E496A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #832dab;
/* rgb */ color: rgb(131, 45, 171);
/* oklch */ color: oklch(48.3% 0.195 312.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ec5',
    500: '#832dab',
    950: '#000000',
  },
}
SCSS
$custom: #832dab;
$custom-light: #ab6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#832dab",
  "rgb": {
    "r": 131,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 280.952,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48345,
    "c": 0.19516,
    "h": 312.6
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#832DAB
secondary
#8BC371
accent
#E24678
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #832DAB

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

Preview Lab → · Contrast checker → · Palette generator →

#832DAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva