#8332AB#8332AB

#8332AB is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.189 H 312.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8332AB
RGBrgb(131, 50, 171)
HSLhsl(280, 55%, 43%)
HSVhsv(280, 71%, 67%)
CMYKcmyk(23.4%, 70.8%, 0%, 32.9%)
CIE-LABlab(37.93, 53.89, -49.69)
CIE-LCHlch(37.93, 73.30, 317.32°)
OKLaboklab(48.87% 0.1269 -0.1403)
OKLCHoklch(48.87% 0.189 312.1)
XYZxyz(17.8500, 10.0473, 39.5192)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8332AB #5AAB32
analogous
#4632AB #8332AB #AB3296
triadic
#8332AB #AB8332 #32AB83
tetradic
#8332AB #AB4632 #5AAB32 #3296AB
square
#8332AB #AB4632 #5AAB32 #3296AB
split-complementary
#8332AB #96AB32 #32AB46
monochromatic
#3A164C #5F247C #8332AB #A24FCB #BB7ED9

Accessibility & contrast

On white

6.98
#8332AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8332AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8332AB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8332AB#FFFFFF#000000##FFFFFF
##8332AB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#245BA8
Tritanopia (blue-blind)
#7E4C6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8332ab;
/* rgb */ color: rgb(131, 50, 171);
/* oklch */ color: oklch(48.9% 0.189 312.1);
Tailwind
colors: {
  custom: {
    50: '#ab71c5',
    500: '#8332ab',
    950: '#000000',
  },
}
SCSS
$custom: #8332ab;
$custom-light: #ab71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8332ab",
  "rgb": {
    "r": 131,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 280.165,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.18918,
    "h": 312.1
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#8332AB
secondary
#90C277
accent
#DE4A7B
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8332AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8332AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva