#8732B2#8732B2

#8732B2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.9% C 0.197 H 311.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8732B2
RGBrgb(135, 50, 178)
HSLhsl(280, 56%, 45%)
HSVhsv(280, 72%, 70%)
CMYKcmyk(24.2%, 71.9%, 0%, 30.2%)
CIE-LABlab(38.98, 56.23, -52.12)
CIE-LCHlch(38.98, 76.67, 317.17°)
OKLaboklab(49.89% 0.1313 -0.1473)
OKLCHoklch(49.89% 0.197 311.7)
XYZxyz(19.1667, 10.6470, 43.1563)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732B2 #5DB232
analogous
#4732B2 #8732B2 #B2329D
triadic
#8732B2 #B28732 #32B287
tetradic
#8732B2 #B24732 #5DB232 #329DB2
square
#8732B2 #B24732 #5DB232 #329DB2
split-complementary
#8732B2 #9DB232 #32B247
monochromatic
#3F1752 #632582 #8732B2 #A553CF #BE82DC

Accessibility & contrast

On white

6.71
#8732B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8732B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732B2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732B2#FFFFFF#000000##FFFFFF
##8732B21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#215DAF
Tritanopia (blue-blind)
#824E6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8732b2;
/* rgb */ color: rgb(135, 50, 178);
/* oklch */ color: oklch(49.9% 0.197 311.7);
Tailwind
colors: {
  custom: {
    50: '#ae72ca',
    500: '#8732b2',
    950: '#000000',
  },
}
SCSS
$custom: #8732b2;
$custom-light: #ae72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8732b2",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 279.844,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.19733,
    "h": 311.7
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#8732B2
secondary
#94C57B
accent
#DF487B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8732B2

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

Preview Lab → · Contrast checker → · Palette generator →

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