#8732C5#8732C5

#8732C5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.216 H 306.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8732C5
RGBrgb(135, 50, 197)
HSLhsl(275, 60%, 48%)
HSVhsv(275, 75%, 77%)
CMYKcmyk(31.5%, 74.6%, 0%, 22.7%)
CIE-LABlab(40.35, 60.38, -61.06)
CIE-LCHlch(40.35, 85.87, 314.68°)
OKLaboklab(51.29% 0.1281 -0.1736)
OKLCHoklch(51.29% 0.216 306.4)
XYZxyz(21.2081, 11.4635, 53.9079)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8732C5 #70C532
analogous
#3E32C5 #8732C5 #C532B9
triadic
#8732C5 #C58732 #32C587
tetradic
#8732C5 #C53E32 #70C532 #32B9C5
square
#8732C5 #C53E32 #70C532 #32B9C5
split-complementary
#8732C5 #B9C532 #32C53E
monochromatic
#441963 #662694 #8732C5 #A35ED6 #BF8FE3

Accessibility & contrast

On white

6.38
#8732C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8732C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8732C5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8732C5#FFFFFF#000000##FFFFFF
##8732C51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#7C5679
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8732c5;
/* rgb */ color: rgb(135, 50, 197);
/* oklch */ color: oklch(51.3% 0.216 306.4);
Tailwind
colors: {
  custom: {
    50: '#af72d7',
    500: '#8732c5',
    950: '#000000',
  },
}
SCSS
$custom: #8732c5;
$custom-light: #af72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8732c5",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 274.694,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.21575,
    "h": 306.4
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#8732C5
secondary
#A4CD86
accent
#E34588
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8732C5

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

Preview Lab → · Contrast checker → · Palette generator →

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