#8732BA#8732BA

#8732BA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.205 H 309.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8732BA
RGBrgb(135, 50, 186)
HSLhsl(278, 58%, 46%)
HSVhsv(278, 73%, 73%)
CMYKcmyk(27.4%, 73.1%, 0%, 27.1%)
CIE-LABlab(39.54, 57.95, -55.93)
CIE-LCHlch(39.54, 80.54, 316.02°)
OKLaboklab(50.47% 0.1301 -0.1585)
OKLCHoklch(50.47% 0.205 309.4)
XYZxyz(19.9934, 10.9777, 47.5105)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732BA #65BA32
analogous
#4332BA #8732BA #BA32A9
triadic
#8732BA #BA8732 #32BA87
tetradic
#8732BA #BA4332 #65BA32 #32A9BA
square
#8732BA #BA4332 #65BA32 #32A9BA
split-complementary
#8732BA #A9BA32 #32BA43
monochromatic
#41185A #64258A #8732BA #A457D2 #BE88DF

Accessibility & contrast

On white

6.57
#8732BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8732BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732BA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732BA#FFFFFF#000000##FFFFFF
##8732BA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0E5EB7
Tritanopia (blue-blind)
#7F5173
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8732ba;
/* rgb */ color: rgb(135, 50, 186);
/* oklch */ color: oklch(50.5% 0.205 309.4);
Tailwind
colors: {
  custom: {
    50: '#af72d0',
    500: '#8732ba',
    950: '#000000',
  },
}
SCSS
$custom: #8732ba;
$custom-light: #af72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8732ba",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 277.5,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50466,
    "c": 0.20508,
    "h": 309.4
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#8732BA
secondary
#9BC97F
accent
#E14781
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8732BA

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

Preview Lab → · Contrast checker → · Palette generator →

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