#8732A2#8732A2

#8732A2 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.182 H 316.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8732A2
RGBrgb(135, 50, 162)
HSLhsl(286, 53%, 42%)
HSVhsv(286, 69%, 64%)
CMYKcmyk(16.7%, 69.1%, 0%, 36.5%)
CIE-LABlab(37.92, 52.88, -44.28)
CIE-LCHlch(37.92, 68.97, 320.05°)
OKLaboklab(48.79% 0.1328 -0.1243)
OKLCHoklch(48.79% 0.182 316.9)
XYZxyz(17.6529, 10.0414, 35.1837)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732A2 #4DA232
analogous
#4F32A2 #8732A2 #A23285
triadic
#8732A2 #A28732 #32A287
tetradic
#8732A2 #A24F32 #4DA232 #3285A2
square
#8732A2 #A24F32 #4DA232 #3285A2
split-complementary
#8732A2 #85A232 #32A24F
monochromatic
#391544 #602473 #8732A2 #A94AC7 #BF79D6

Accessibility & contrast

On white

6.98
#8732A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8732A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732A2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732A2#FFFFFF#000000##FFFFFF
##8732A21.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)
#0054A5
Deuteranopia (green-blind)
#345C9F
Tritanopia (blue-blind)
#864866
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8732a2;
/* rgb */ color: rgb(135, 50, 162);
/* oklch */ color: oklch(48.8% 0.182 316.9);
Tailwind
colors: {
  custom: {
    50: '#ad71be',
    500: '#8732a2',
    950: '#000000',
  },
}
SCSS
$custom: #8732a2;
$custom-light: #ad71be;
$custom-dark: #000000;
JSON
{
  "hex": "#8732a2",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 285.536,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.18195,
    "h": 316.9
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#8732A2
secondary
#84BE72
accent
#DC4C6E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8732A2

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

Preview Lab → · Contrast checker → · Palette generator →

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