#8F32C2#8F32C2

#8F32C2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.215 H 310.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8F32C2
RGBrgb(143, 50, 194)
HSLhsl(279, 59%, 48%)
HSVhsv(279, 74%, 76%)
CMYKcmyk(26.3%, 74.2%, 0%, 23.9%)
CIE-LABlab(41.24, 61.21, -57.82)
CIE-LCHlch(41.24, 84.20, 316.63°)
OKLaboklab(52.08% 0.1393 -0.1638)
OKLCHoklch(52.08% 0.215 310.4)
XYZxyz(22.2040, 12.0164, 52.1782)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32C2 #65C232
analogous
#4732C2 #8F32C2 #C232AD
triadic
#8F32C2 #C28F32 #32C28F
tetradic
#8F32C2 #C24732 #65C232 #32ADC2
square
#8F32C2 #C24732 #65C232 #32ADC2
split-complementary
#8F32C2 #ADC232 #32C247
monochromatic
#471961 #6B2591 #8F32C2 #AA5CD5 #C48DE2

Accessibility & contrast

On white

6.17
#8F32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32C2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32C2#FFFFFF#000000##FFFFFF
##8F32C21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1063BF
Tritanopia (blue-blind)
#885478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f32c2;
/* rgb */ color: rgb(143, 50, 194);
/* oklch */ color: oklch(52.1% 0.215 310.4);
Tailwind
colors: {
  custom: {
    50: '#b573d5',
    500: '#8f32c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f32c2;
$custom-light: #b573d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32c2",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 278.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.21505,
    "h": 310.4
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#8F32C2
secondary
#9DCC84
accent
#E2467D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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