#832EA2#832EA2

#832EA2 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.185 H 315.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#832EA2
RGBrgb(131, 46, 162)
HSLhsl(284, 56%, 41%)
HSVhsv(284, 72%, 64%)
CMYKcmyk(19.1%, 71.6%, 0%, 36.5%)
CIE-LABlab(36.72, 53.68, -46.23)
CIE-LCHlch(36.72, 70.84, 319.26°)
OKLaboklab(47.81% 0.1321 -0.1302)
OKLCHoklch(47.81% 0.185 315.4)
XYZxyz(16.8576, 9.3885, 35.0996)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832EA2 #4DA22E
analogous
#492EA2 #832EA2 #A22E87
triadic
#832EA2 #A2832E #2EA283
tetradic
#832EA2 #A2492E #4DA22E #2E87A2
square
#832EA2 #A2492E #4DA22E #2E87A2
split-complementary
#832EA2 #87A22E #2EA249
monochromatic
#361343 #5C2072 #832EA2 #A643CA #BD73D7

Accessibility & contrast

On white

7.30
#832EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#832EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832EA2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832EA2#FFFFFF#000000##FFFFFF
##832EA21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#2B599F
Tritanopia (blue-blind)
#814665
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #832ea2;
/* rgb */ color: rgb(131, 46, 162);
/* oklch */ color: oklch(47.8% 0.185 315.4);
Tailwind
colors: {
  custom: {
    50: '#ab6fbe',
    500: '#832ea2',
    950: '#000000',
  },
}
SCSS
$custom: #832ea2;
$custom-light: #ab6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#832ea2",
  "rgb": {
    "r": 131,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 283.966,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.18542,
    "h": 315.4
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#832EA2
secondary
#83BF6D
accent
#DF4971
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #832EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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