#8732B1#8732B1

#8732B1 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.196 H 312.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8732B1
RGBrgb(135, 50, 177)
HSLhsl(280, 56%, 45%)
HSVhsv(280, 72%, 69%)
CMYKcmyk(23.7%, 71.8%, 0%, 30.6%)
CIE-LABlab(38.91, 56.01, -51.64)
CIE-LCHlch(38.91, 76.18, 317.33°)
OKLaboklab(49.82% 0.1314 -0.1459)
OKLCHoklch(49.82% 0.196 312)
XYZxyz(19.0666, 10.6069, 42.6294)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732B1 #5CB132
analogous
#4732B1 #8732B1 #B1329C
triadic
#8732B1 #B18732 #32B187
tetradic
#8732B1 #B14732 #5CB132 #329CB1
square
#8732B1 #B14732 #5CB132 #329CB1
split-complementary
#8732B1 #9CB132 #32B147
monochromatic
#3E1752 #632581 #8732B1 #A552CE #BE82DC

Accessibility & contrast

On white

6.73
#8732B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8732B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732B1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732B1#FFFFFF#000000##FFFFFF
##8732B11.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#225DAE
Tritanopia (blue-blind)
#824E6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8732b1;
/* rgb */ color: rgb(135, 50, 177);
/* oklch */ color: oklch(49.8% 0.196 312.0);
Tailwind
colors: {
  custom: {
    50: '#ae72c9',
    500: '#8732b1',
    950: '#000000',
  },
}
SCSS
$custom: #8732b1;
$custom-light: #ae72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8732b1",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 280.157,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.19636,
    "h": 312
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#8732B1
secondary
#93C57A
accent
#DF497A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8732B1

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

Preview Lab → · Contrast checker → · Palette generator →

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