#8B32E3#8B32E3

#8B32E3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.2% C 0.245 H 301.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8B32E3
RGBrgb(139, 50, 227)
HSLhsl(270, 76%, 54%)
HSVhsv(270, 78%, 89%)
CMYKcmyk(38.8%, 78%, 0%, 11%)
CIE-LABlab(43.24, 67.79, -73.61)
CIE-LCHlch(43.24, 100.07, 312.64°)
OKLaboklab(54.16% 0.1265 -0.2103)
OKLCHoklch(54.16% 0.245 301)
XYZxyz(25.6498, 13.3160, 73.8771)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32E3 #8AE332
analogous
#3232E3 #8B32E3 #E332E3
triadic
#8B32E3 #E38B32 #32E38B
tetradic
#8B32E3 #E33232 #8AE332 #32E3E3
square
#8B32E3 #E33232 #8AE332 #32E3E3
split-complementary
#8B32E3 #E3E332 #32E332
monochromatic
#4E1388 #6C1ABE #8B32E3 #A968EA #C89EF2

Accessibility & contrast

On white

5.73
#8B32E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8B32E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32E3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32E3#FFFFFF#000000##FFFFFF
##8B32E31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E8
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#77628B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b32e3;
/* rgb */ color: rgb(139, 50, 227);
/* oklch */ color: oklch(54.2% 0.245 301.0);
Tailwind
colors: {
  custom: {
    50: '#b474ed',
    500: '#8b32e3',
    950: '#000000',
  },
}
SCSS
$custom: #8b32e3;
$custom-light: #b474ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32e3",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 227
  },
  "hsl": {
    "h": 270.169,
    "s": 75.966,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.24545,
    "h": 301
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#8B32E3
secondary
#B8DE93
accent
#F33593
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B32E3

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

Preview Lab → · Contrast checker → · Palette generator →

#8B32E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva