#832CAB#832CAB

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

Color values

HEX#832CAB
RGBrgb(131, 44, 171)
HSLhsl(281, 59%, 42%)
HSVhsv(281, 74%, 67%)
CMYKcmyk(23.4%, 74.3%, 0%, 32.9%)
CIE-LABlab(37.05, 56.36, -51.09)
CIE-LCHlch(37.05, 76.07, 317.81°)
OKLaboklab(48.25% 0.133 -0.1444)
OKLCHoklch(48.25% 0.196 312.6)
XYZxyz(17.6101, 9.5674, 39.4392)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832CAB #54AB2C
analogous
#432CAB #832CAB #AB2C94
triadic
#832CAB #AB832C #2CAB83
tetradic
#832CAB #AB432C #54AB2C #2C94AB
square
#832CAB #AB432C #54AB2C #2C94AB
split-complementary
#832CAB #94AB2C #2CAB43
monochromatic
#38134A #5E1F7A #832CAB #A445CF #BC76DC

Accessibility & contrast

On white

7.21
#832CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#832CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832CAB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832CAB#FFFFFF#000000##FFFFFF
##832CAB1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #832cab;
/* rgb */ color: rgb(131, 44, 171);
/* oklch */ color: oklch(48.2% 0.196 312.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ec5',
    500: '#832cab',
    950: '#000000',
  },
}
SCSS
$custom: #832cab;
$custom-light: #ab6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#832cab",
  "rgb": {
    "r": 131,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 281.102,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48246,
    "c": 0.1963,
    "h": 312.6
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#832CAB
secondary
#8AC36F
accent
#E24677
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #832CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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