#8D32E2#8D32E2

#8D32E2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.3% C 0.245 H 301.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8D32E2
RGBrgb(141, 50, 226)
HSLhsl(271, 75%, 54%)
HSVhsv(271, 78%, 89%)
CMYKcmyk(37.6%, 77.9%, 0%, 11.4%)
CIE-LABlab(43.41, 67.86, -72.75)
CIE-LCHlch(43.41, 99.49, 313.01°)
OKLaboklab(54.31% 0.1296 -0.2077)
OKLCHoklch(54.31% 0.245 301.9)
XYZxyz(25.8492, 13.4348, 73.1681)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32E2 #87E232
analogous
#3532E2 #8D32E2 #E232DF
triadic
#8D32E2 #E28D32 #32E28D
tetradic
#8D32E2 #E23532 #87E232 #32DFE2
square
#8D32E2 #E23532 #87E232 #32DFE2
split-complementary
#8D32E2 #DFE232 #32E235
monochromatic
#4F1387 #6E1BBC #8D32E2 #AB68EA #C99DF1

Accessibility & contrast

On white

5.70
#8D32E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8D32E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D32E2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32E2#FFFFFF#000000##FFFFFF
##8D32E21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#7A628A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d32e2;
/* rgb */ color: rgb(141, 50, 226);
/* oklch */ color: oklch(54.3% 0.245 301.9);
Tailwind
colors: {
  custom: {
    50: '#b674ec',
    500: '#8d32e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d32e2;
$custom-light: #b674ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32e2",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 226
  },
  "hsl": {
    "h": 271.023,
    "s": 75.214,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.24482,
    "h": 301.9
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#8D32E2
secondary
#B7DD92
accent
#F23691
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D32E2

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

Preview Lab → · Contrast checker → · Palette generator →

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