#8732A0#8732A0

#8732A0 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.180 H 317.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8732A0
RGBrgb(135, 50, 160)
HSLhsl(286, 52%, 41%)
HSVhsv(286, 69%, 63%)
CMYKcmyk(15.6%, 68.8%, 0%, 37.3%)
CIE-LABlab(37.79, 52.47, -43.28)
CIE-LCHlch(37.79, 68.02, 320.48°)
OKLaboklab(48.66% 0.1329 -0.1214)
OKLCHoklch(48.66% 0.18 317.6)
XYZxyz(17.4765, 9.9709, 34.2549)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732A0 #4BA032
analogous
#5032A0 #8732A0 #A03282
triadic
#8732A0 #A08732 #32A087
tetradic
#8732A0 #A05032 #4BA032 #3282A0
square
#8732A0 #A05032 #4BA032 #3282A0
split-complementary
#8732A0 #82A032 #32A050
monochromatic
#381543 #602371 #8732A0 #AA49C6 #C078D5

Accessibility & contrast

On white

7.01
#8732A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8732A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8732A0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732A0#FFFFFF#000000##FFFFFF
##8732A01.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#365C9D
Tritanopia (blue-blind)
#864765
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8732a0;
/* rgb */ color: rgb(135, 50, 160);
/* oklch */ color: oklch(48.7% 0.180 317.6);
Tailwind
colors: {
  custom: {
    50: '#ad71bd',
    500: '#8732a0',
    950: '#000000',
  },
}
SCSS
$custom: #8732a0;
$custom-light: #ad71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8732a0",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 160
  },
  "hsl": {
    "h": 286.364,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.18004,
    "h": 317.6
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#8732A0
secondary
#82BD71
accent
#DC4C6D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8732A0

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

Preview Lab → · Contrast checker → · Palette generator →

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