#8732C4#8732C4

#8732C4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.215 H 306.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8732C4
RGBrgb(135, 50, 196)
HSLhsl(275, 59%, 48%)
HSVhsv(275, 74%, 77%)
CMYKcmyk(31.1%, 74.5%, 0%, 23.1%)
CIE-LABlab(40.28, 60.15, -60.60)
CIE-LCHlch(40.28, 85.39, 314.79°)
OKLaboklab(51.21% 0.1283 -0.1723)
OKLCHoklch(51.21% 0.215 306.7)
XYZxyz(21.0939, 11.4179, 53.3065)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732C4 #6FC432
analogous
#3E32C4 #8732C4 #C432B8
triadic
#8732C4 #C48732 #32C487
tetradic
#8732C4 #C43E32 #6FC432 #32B8C4
square
#8732C4 #C43E32 #6FC432 #32B8C4
split-complementary
#8732C4 #B8C432 #32C43E
monochromatic
#441962 #652693 #8732C4 #A35DD6 #BF8EE2

Accessibility & contrast

On white

6.40
#8732C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8732C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732C4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732C4#FFFFFF#000000##FFFFFF
##8732C41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#7C5679
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8732c4;
/* rgb */ color: rgb(135, 50, 196);
/* oklch */ color: oklch(51.2% 0.215 306.7);
Tailwind
colors: {
  custom: {
    50: '#af72d7',
    500: '#8732c4',
    950: '#000000',
  },
}
SCSS
$custom: #8732c4;
$custom-light: #af72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8732c4",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 274.932,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.21479,
    "h": 306.7
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#8732C4
secondary
#A3CD85
accent
#E34587
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8732C4

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

Preview Lab → · Contrast checker → · Palette generator →

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