#8332B2#8332B2

#8332B2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.4% C 0.196 H 310.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8332B2
RGBrgb(131, 50, 178)
HSLhsl(278, 56%, 45%)
HSVhsv(278, 72%, 70%)
CMYKcmyk(26.4%, 71.9%, 0%, 30.2%)
CIE-LABlab(38.41, 55.41, -53.06)
CIE-LCHlch(38.41, 76.72, 316.24°)
OKLaboklab(49.37% 0.126 -0.1502)
OKLCHoklch(49.37% 0.196 310)
XYZxyz(18.5350, 10.3212, 43.1266)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8332B2 #61B232
analogous
#4332B2 #8332B2 #B232A1
triadic
#8332B2 #B28332 #32B283
tetradic
#8332B2 #B24332 #61B232 #32A1B2
square
#8332B2 #B24332 #61B232 #32A1B2
split-complementary
#8332B2 #A1B232 #32B243
monochromatic
#3D1752 #602582 #8332B2 #A153CF #BB82DC

Accessibility & contrast

On white

6.85
#8332B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8332B2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8332B2#FFFFFF#000000##FFFFFF
##8332B21.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#185CAF
Tritanopia (blue-blind)
#7C4F6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8332b2;
/* rgb */ color: rgb(131, 50, 178);
/* oklch */ color: oklch(49.4% 0.196 310.0);
Tailwind
colors: {
  custom: {
    50: '#ab71ca',
    500: '#8332b2',
    950: '#000000',
  },
}
SCSS
$custom: #8332b2;
$custom-light: #ab71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8332b2",
  "rgb": {
    "r": 131,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 277.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.19608,
    "h": 310
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#8332B2
secondary
#96C57B
accent
#DF4880
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8332B2

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

Preview Lab → · Contrast checker → · Palette generator →

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