#8732B4#8732B4

#8732B4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 50.0% C 0.199 H 311.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8732B4
RGBrgb(135, 50, 180)
HSLhsl(279, 57%, 45%)
HSVhsv(279, 72%, 71%)
CMYKcmyk(25%, 72.2%, 0%, 29.4%)
CIE-LABlab(39.12, 56.65, -53.08)
CIE-LCHlch(39.12, 77.63, 316.87°)
OKLaboklab(50.03% 0.131 -0.1501)
OKLCHoklch(50.03% 0.199 311.1)
XYZxyz(19.3689, 10.7279, 44.2215)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732B4 #5FB432
analogous
#4632B4 #8732B4 #B432A0
triadic
#8732B4 #B48732 #32B487
tetradic
#8732B4 #B44632 #5FB432 #32A0B4
square
#8732B4 #B44632 #5FB432 #32A0B4
split-complementary
#8732B4 #A0B432 #32B446
monochromatic
#3F1754 #632584 #8732B4 #A554CF #BE84DD

Accessibility & contrast

On white

6.68
#8732B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8732B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732B4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732B4#FFFFFF#000000##FFFFFF
##8732B41.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#1D5EB1
Tritanopia (blue-blind)
#814F70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8732b4;
/* rgb */ color: rgb(135, 50, 180);
/* oklch */ color: oklch(50.0% 0.199 311.1);
Tailwind
colors: {
  custom: {
    50: '#ae72cb',
    500: '#8732b4',
    950: '#000000',
  },
}
SCSS
$custom: #8732b4;
$custom-light: #ae72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8732b4",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 279.231,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.19926,
    "h": 311.1
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#8732B4
secondary
#95C67C
accent
#E0487D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8732B4

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

Preview Lab → · Contrast checker → · Palette generator →

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