#8732CC#8732CC

#8732CC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.223 H 304.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8732CC
RGBrgb(135, 50, 204)
HSLhsl(273, 61%, 50%)
HSVhsv(273, 75%, 80%)
CMYKcmyk(33.8%, 75.5%, 0%, 20%)
CIE-LABlab(40.88, 61.94, -64.27)
CIE-LCHlch(40.88, 89.26, 313.95°)
OKLaboklab(51.83% 0.1266 -0.183)
OKLCHoklch(51.83% 0.223 304.7)
XYZxyz(22.0289, 11.7918, 58.2306)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732CC #77CC32
analogous
#3A32CC #8732CC #CC32C4
triadic
#8732CC #CC8732 #32CC87
tetradic
#8732CC #CC3A32 #77CC32 #32C4CC
square
#8732CC #CC3A32 #77CC32 #32C4CC
split-complementary
#8732CC #C4CC32 #32CC3A
monochromatic
#461A6A #66269B #8732CC #A463D9 #C094E5

Accessibility & contrast

On white

6.25
#8732CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8732CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732CC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732CC#FFFFFF#000000##FFFFFF
##8732CC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#7A597D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8732cc;
/* rgb */ color: rgb(135, 50, 204);
/* oklch */ color: oklch(51.8% 0.223 304.7);
Tailwind
colors: {
  custom: {
    50: '#b073dd',
    500: '#8732cc',
    950: '#000000',
  },
}
SCSS
$custom: #8732cc;
$custom-light: #b073dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8732cc",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 273.117,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.22256,
    "h": 304.7
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#8732CC
secondary
#A9D08A
accent
#E4448C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8732CC

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

Preview Lab → · Contrast checker → · Palette generator →

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