#8732B7#8732B7

#8732B7 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.202 H 310.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8732B7
RGBrgb(135, 50, 183)
HSLhsl(278, 57%, 46%)
HSVhsv(278, 73%, 72%)
CMYKcmyk(26.2%, 72.7%, 0%, 28.2%)
CIE-LABlab(39.33, 57.30, -54.51)
CIE-LCHlch(39.33, 79.09, 316.43°)
OKLaboklab(50.25% 0.1306 -0.1544)
OKLCHoklch(50.25% 0.202 310.2)
XYZxyz(19.6778, 10.8514, 45.8485)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732B7 #62B732
analogous
#4432B7 #8732B7 #B732A4
triadic
#8732B7 #B78732 #32B787
tetradic
#8732B7 #B74432 #62B732 #32A4B7
square
#8732B7 #B74432 #62B732 #32A4B7
split-complementary
#8732B7 #A4B732 #32B744
monochromatic
#401857 #642587 #8732B7 #A456D1 #BE86DE

Accessibility & contrast

On white

6.62
#8732B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8732B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732B7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732B7#FFFFFF#000000##FFFFFF
##8732B71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#175EB4
Tritanopia (blue-blind)
#805072
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8732b7;
/* rgb */ color: rgb(135, 50, 183);
/* oklch */ color: oklch(50.2% 0.202 310.2);
Tailwind
colors: {
  custom: {
    50: '#ae72cd',
    500: '#8732b7',
    950: '#000000',
  },
}
SCSS
$custom: #8732b7;
$custom-light: #ae72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8732b7",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 278.346,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.20217,
    "h": 310.2
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#8732B7
secondary
#98C77D
accent
#E0477F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8732B7

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

Preview Lab → · Contrast checker → · Palette generator →

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