#8F32C8#8F32C8

#8F32C8 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.221 H 308.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8F32C8
RGBrgb(143, 50, 200)
HSLhsl(277, 60%, 49%)
HSVhsv(277, 75%, 78%)
CMYKcmyk(28.5%, 75%, 0%, 21.6%)
CIE-LABlab(41.68, 62.49, -60.61)
CIE-LCHlch(41.68, 87.05, 315.87°)
OKLaboklab(52.53% 0.1383 -0.172)
OKLCHoklch(52.53% 0.221 308.8)
XYZxyz(22.8915, 12.2914, 55.7989)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32C8 #6BC832
analogous
#4432C8 #8F32C8 #C832B6
triadic
#8F32C8 #C88F32 #32C88F
tetradic
#8F32C8 #C84432 #6BC832 #32B6C8
square
#8F32C8 #C84432 #6BC832 #32B6C8
split-complementary
#8F32C8 #B6C832 #32C844
monochromatic
#491A66 #6C2697 #8F32C8 #AA60D7 #C491E3

Accessibility & contrast

On white

6.07
#8F32C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F32C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32C8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32C8#FFFFFF#000000##FFFFFF
##8F32C81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#86567B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f32c8;
/* rgb */ color: rgb(143, 50, 200);
/* oklch */ color: oklch(52.5% 0.221 308.8);
Tailwind
colors: {
  custom: {
    50: '#b573da',
    500: '#8f32c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f32c8;
$custom-light: #b573da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32c8",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 277.2,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.22069,
    "h": 308.8
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#8F32C8
secondary
#A2CE88
accent
#E34581
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F32C8

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

Preview Lab → · Contrast checker → · Palette generator →

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