#8F32C5#8F32C5

#8F32C5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.218 H 309.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8F32C5
RGBrgb(143, 50, 197)
HSLhsl(278, 60%, 48%)
HSVhsv(278, 75%, 77%)
CMYKcmyk(27.4%, 74.6%, 0%, 22.7%)
CIE-LABlab(41.46, 61.84, -59.22)
CIE-LCHlch(41.46, 85.62, 316.24°)
OKLaboklab(52.3% 0.1388 -0.1679)
OKLCHoklch(52.3% 0.218 309.6)
XYZxyz(22.5443, 12.1525, 53.9705)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32C5 #68C532
analogous
#4532C5 #8F32C5 #C532B1
triadic
#8F32C5 #C58F32 #32C58F
tetradic
#8F32C5 #C54532 #68C532 #32B1C5
square
#8F32C5 #C54532 #68C532 #32B1C5
split-complementary
#8F32C5 #B1C532 #32C545
monochromatic
#481963 #6C2694 #8F32C5 #AA5ED6 #C48FE3

Accessibility & contrast

On white

6.12
#8F32C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F32C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32C5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32C5#FFFFFF#000000##FFFFFF
##8F32C51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0463C2
Tritanopia (blue-blind)
#87557A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f32c5;
/* rgb */ color: rgb(143, 50, 197);
/* oklch */ color: oklch(52.3% 0.218 309.6);
Tailwind
colors: {
  custom: {
    50: '#b573d7',
    500: '#8f32c5',
    950: '#000000',
  },
}
SCSS
$custom: #8f32c5;
$custom-light: #b573d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32c5",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 277.959,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.21786,
    "h": 309.6
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#8F32C5
secondary
#A0CD86
accent
#E3457F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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