#8732C2#8732C2

#8732C2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.213 H 307.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8732C2
RGBrgb(135, 50, 194)
HSLhsl(275, 59%, 48%)
HSVhsv(275, 74%, 76%)
CMYKcmyk(30.4%, 74.2%, 0%, 23.9%)
CIE-LABlab(40.13, 59.71, -59.68)
CIE-LCHlch(40.13, 84.42, 315.02°)
OKLaboklab(51.06% 0.1287 -0.1695)
OKLCHoklch(51.06% 0.213 307.2)
XYZxyz(20.8678, 11.3274, 52.1156)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732C2 #6DC232
analogous
#3F32C2 #8732C2 #C232B5
triadic
#8732C2 #C28732 #32C287
tetradic
#8732C2 #C23F32 #6DC232 #32B5C2
square
#8732C2 #C23F32 #6DC232 #32B5C2
split-complementary
#8732C2 #B5C232 #32C23F
monochromatic
#431961 #652591 #8732C2 #A45CD5 #BF8DE2

Accessibility & contrast

On white

6.43
#8732C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8732C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732C2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732C2#FFFFFF#000000##FFFFFF
##8732C21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#7D5578
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8732c2;
/* rgb */ color: rgb(135, 50, 194);
/* oklch */ color: oklch(51.1% 0.213 307.2);
Tailwind
colors: {
  custom: {
    50: '#af72d5',
    500: '#8732c2',
    950: '#000000',
  },
}
SCSS
$custom: #8732c2;
$custom-light: #af72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8732c2",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 275.417,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.21285,
    "h": 307.2
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

primary
#8732C2
secondary
#A1CC84
accent
#E24686
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8732C2

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

Preview Lab → · Contrast checker → · Palette generator →

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