#8732C7#8732C7

#8732C7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.218 H 305.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8732C7
RGBrgb(135, 50, 199)
HSLhsl(274, 60%, 49%)
HSVhsv(274, 75%, 78%)
CMYKcmyk(32.2%, 74.9%, 0%, 22%)
CIE-LABlab(40.50, 60.82, -61.98)
CIE-LCHlch(40.50, 86.84, 314.46°)
OKLaboklab(51.44% 0.1277 -0.1763)
OKLCHoklch(51.44% 0.218 305.9)
XYZxyz(21.4388, 11.5558, 55.1228)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732C7 #72C732
analogous
#3D32C7 #8732C7 #C732BD
triadic
#8732C7 #C78732 #32C787
tetradic
#8732C7 #C73D32 #72C732 #32BDC7
square
#8732C7 #C73D32 #72C732 #32BDC7
split-complementary
#8732C7 #BDC732 #32C73D
monochromatic
#451965 #662696 #8732C7 #A45FD7 #C090E3

Accessibility & contrast

On white

6.34
#8732C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8732C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732C7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732C7#FFFFFF#000000##FFFFFF
##8732C71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#7B577B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8732c7;
/* rgb */ color: rgb(135, 50, 199);
/* oklch */ color: oklch(51.4% 0.218 305.9);
Tailwind
colors: {
  custom: {
    50: '#b073d9',
    500: '#8732c7',
    950: '#000000',
  },
}
SCSS
$custom: #8732c7;
$custom-light: #b073d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8732c7",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 274.228,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.21771,
    "h": 305.9
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#8732C7
secondary
#A5CE87
accent
#E34589
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8732C7

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

Preview Lab → · Contrast checker → · Palette generator →

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