#8332B1#8332B1

#8332B1 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.195 H 310.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8332B1
RGBrgb(131, 50, 177)
HSLhsl(278, 56%, 45%)
HSVhsv(278, 72%, 69%)
CMYKcmyk(26%, 71.8%, 0%, 30.6%)
CIE-LABlab(38.34, 55.19, -52.58)
CIE-LCHlch(38.34, 76.23, 316.39°)
OKLaboklab(49.29% 0.1261 -0.1488)
OKLCHoklch(49.29% 0.195 310.3)
XYZxyz(18.4349, 10.2812, 42.5998)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8332B1 #60B132
analogous
#4432B1 #8332B1 #B1329F
triadic
#8332B1 #B18332 #32B183
tetradic
#8332B1 #B14432 #60B132 #329FB1
square
#8332B1 #B14432 #60B132 #329FB1
split-complementary
#8332B1 #9FB132 #32B144
monochromatic
#3C1752 #602581 #8332B1 #A152CE #BB82DC

Accessibility & contrast

On white

6.87
#8332B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8332B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8332B1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8332B1#FFFFFF#000000##FFFFFF
##8332B11.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#1A5CAE
Tritanopia (blue-blind)
#7D4E6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8332b1;
/* rgb */ color: rgb(131, 50, 177);
/* oklch */ color: oklch(49.3% 0.195 310.3);
Tailwind
colors: {
  custom: {
    50: '#ab71c9',
    500: '#8332b1',
    950: '#000000',
  },
}
SCSS
$custom: #8332b1;
$custom-light: #ab71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8332b1",
  "rgb": {
    "r": 131,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 278.268,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.19509,
    "h": 310.3
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#8332B1
secondary
#95C57A
accent
#DF497F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8332B1

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

Preview Lab → · Contrast checker → · Palette generator →

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