#8F32C4#8F32C4

#8F32C4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.217 H 309.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8F32C4
RGBrgb(143, 50, 196)
HSLhsl(278, 59%, 48%)
HSVhsv(278, 74%, 77%)
CMYKcmyk(27%, 74.5%, 0%, 23.1%)
CIE-LABlab(41.39, 61.63, -58.75)
CIE-LCHlch(41.39, 85.15, 316.37°)
OKLaboklab(52.23% 0.139 -0.1665)
OKLCHoklch(52.23% 0.217 309.8)
XYZxyz(22.4301, 12.1068, 53.3691)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32C4 #67C432
analogous
#4632C4 #8F32C4 #C432B0
triadic
#8F32C4 #C48F32 #32C48F
tetradic
#8F32C4 #C44632 #67C432 #32B0C4
square
#8F32C4 #C44632 #67C432 #32B0C4
split-complementary
#8F32C4 #B0C432 #32C446
monochromatic
#481962 #6B2693 #8F32C4 #AA5DD6 #C48EE2

Accessibility & contrast

On white

6.14
#8F32C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F32C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32C4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32C4#FFFFFF#000000##FFFFFF
##8F32C41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0863C1
Tritanopia (blue-blind)
#875479
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f32c4;
/* rgb */ color: rgb(143, 50, 196);
/* oklch */ color: oklch(52.2% 0.217 309.8);
Tailwind
colors: {
  custom: {
    50: '#b573d7',
    500: '#8f32c4',
    950: '#000000',
  },
}
SCSS
$custom: #8f32c4;
$custom-light: #b573d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32c4",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 278.219,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.21693,
    "h": 309.8
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#8F32C4
secondary
#9FCD85
accent
#E3457E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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