#8D32C0#8D32C0

#8D32C0 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.7% C 0.213 H 310.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8D32C0
RGBrgb(141, 50, 192)
HSLhsl(278, 59%, 47%)
HSVhsv(278, 74%, 75%)
CMYKcmyk(26.6%, 74%, 0%, 24.7%)
CIE-LABlab(40.82, 60.40, -57.35)
CIE-LCHlch(40.82, 83.29, 316.49°)
OKLaboklab(51.68% 0.1371 -0.1625)
OKLCHoklch(51.68% 0.213 310.1)
XYZxyz(21.6377, 11.7502, 50.9871)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32C0 #65C032
analogous
#4632C0 #8D32C0 #C032AC
triadic
#8D32C0 #C08D32 #32C08D
tetradic
#8D32C0 #C04632 #65C032 #32ACC0
square
#8D32C0 #C04632 #65C032 #32ACC0
split-complementary
#8D32C0 #ACC032 #32C046
monochromatic
#46195F #69258F #8D32C0 #A95BD4 #C28BE1

Accessibility & contrast

On white

6.27
#8D32C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8D32C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D32C0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32C0#FFFFFF#000000##FFFFFF
##8D32C01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#1062BD
Tritanopia (blue-blind)
#865377
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d32c0;
/* rgb */ color: rgb(141, 50, 192);
/* oklch */ color: oklch(51.7% 0.213 310.1);
Tailwind
colors: {
  custom: {
    50: '#b373d4',
    500: '#8d32c0',
    950: '#000000',
  },
}
SCSS
$custom: #8d32c0;
$custom-light: #b373d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32c0",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 278.451,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.21257,
    "h": 310.1
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#8D32C0
secondary
#9DCB83
accent
#E2467E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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