#8F32C0#8F32C0

#8F32C0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.213 H 310.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8F32C0
RGBrgb(143, 50, 192)
HSLhsl(279, 59%, 47%)
HSVhsv(279, 74%, 75%)
CMYKcmyk(25.5%, 74%, 0%, 24.7%)
CIE-LABlab(41.10, 60.79, -56.88)
CIE-LCHlch(41.10, 83.25, 316.90°)
OKLaboklab(51.94% 0.1397 -0.161)
OKLCHoklch(51.94% 0.213 310.9)
XYZxyz(21.9809, 11.9271, 51.0032)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32C0 #63C032
analogous
#4832C0 #8F32C0 #C032AA
triadic
#8F32C0 #C08F32 #32C08F
tetradic
#8F32C0 #C04832 #63C032 #32AAC0
square
#8F32C0 #C04832 #63C032 #32AAC0
split-complementary
#8F32C0 #AAC032 #32C048
monochromatic
#47195F #6B258F #8F32C0 #AA5BD4 #C38BE1

Accessibility & contrast

On white

6.20
#8F32C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8F32C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32C0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32C0#FFFFFF#000000##FFFFFF
##8F32C01.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#1662BD
Tritanopia (blue-blind)
#895377
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f32c0;
/* rgb */ color: rgb(143, 50, 192);
/* oklch */ color: oklch(51.9% 0.213 310.9);
Tailwind
colors: {
  custom: {
    50: '#b473d4',
    500: '#8f32c0',
    950: '#000000',
  },
}
SCSS
$custom: #8f32c0;
$custom-light: #b473d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32c0",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 279.296,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51938,
    "c": 0.21317,
    "h": 310.9
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#8F32C0
secondary
#9CCB83
accent
#E2467C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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