#8F32C9#8F32C9

#8F32C9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.6% C 0.222 H 308.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8F32C9
RGBrgb(143, 50, 201)
HSLhsl(277, 60%, 49%)
HSVhsv(277, 75%, 79%)
CMYKcmyk(28.9%, 75.1%, 0%, 21.2%)
CIE-LABlab(41.75, 62.70, -61.07)
CIE-LCHlch(41.75, 87.53, 315.75°)
OKLaboklab(52.6% 0.1381 -0.1734)
OKLCHoklch(52.6% 0.222 308.5)
XYZxyz(23.0087, 12.3383, 56.4164)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32C9 #6CC932
analogous
#4432C9 #8F32C9 #C932B7
triadic
#8F32C9 #C98F32 #32C98F
tetradic
#8F32C9 #C94432 #6CC932 #32B7C9
square
#8F32C9 #C94432 #6CC932 #32B7C9
split-complementary
#8F32C9 #B7C932 #32C944
monochromatic
#491A67 #6C2698 #8F32C9 #AA61D8 #C492E4

Accessibility & contrast

On white

6.06
#8F32C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8F32C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32C9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32C9#FFFFFF#000000##FFFFFF
##8F32C91.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#86577C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f32c9;
/* rgb */ color: rgb(143, 50, 201);
/* oklch */ color: oklch(52.6% 0.222 308.5);
Tailwind
colors: {
  custom: {
    50: '#b573da',
    500: '#8f32c9',
    950: '#000000',
  },
}
SCSS
$custom: #8f32c9;
$custom-light: #b573da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32c9",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 276.954,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.526,
    "c": 0.22162,
    "h": 308.5
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#8F32C9
secondary
#A3CF88
accent
#E34481
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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