#8732B8#8732B8

#8732B8 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.203 H 309.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8732B8
RGBrgb(135, 50, 184)
HSLhsl(278, 57%, 46%)
HSVhsv(278, 73%, 72%)
CMYKcmyk(26.6%, 72.8%, 0%, 27.8%)
CIE-LABlab(39.40, 57.52, -54.99)
CIE-LCHlch(39.40, 79.57, 316.29°)
OKLaboklab(50.32% 0.1304 -0.1557)
OKLCHoklch(50.32% 0.203 309.9)
XYZxyz(19.7823, 10.8932, 46.3986)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732B8 #63B832
analogous
#4432B8 #8732B8 #B832A6
triadic
#8732B8 #B88732 #32B887
tetradic
#8732B8 #B84432 #63B832 #32A6B8
square
#8732B8 #B84432 #63B832 #32A6B8
split-complementary
#8732B8 #A6B832 #32B844
monochromatic
#401858 #642588 #8732B8 #A456D1 #BE86DE

Accessibility & contrast

On white

6.61
#8732B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8732B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732B8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732B8#FFFFFF#000000##FFFFFF
##8732B81.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#145EB5
Tritanopia (blue-blind)
#805172
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8732b8;
/* rgb */ color: rgb(135, 50, 184);
/* oklch */ color: oklch(50.3% 0.203 309.9);
Tailwind
colors: {
  custom: {
    50: '#af72ce',
    500: '#8732b8',
    950: '#000000',
  },
}
SCSS
$custom: #8732b8;
$custom-light: #af72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8732b8",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 278.06,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50319,
    "c": 0.20314,
    "h": 309.9
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#8732B8
secondary
#99C87E
accent
#E1477F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8732B8

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

Preview Lab → · Contrast checker → · Palette generator →

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