#8F32A2#8F32A2

#8F32A2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.185 H 320.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8F32A2
RGBrgb(143, 50, 162)
HSLhsl(290, 53%, 42%)
HSVhsv(290, 69%, 64%)
CMYKcmyk(11.7%, 69.1%, 0%, 36.5%)
CIE-LABlab(39.12, 54.70, -42.29)
CIE-LCHlch(39.12, 69.14, 322.29°)
OKLaboklab(49.9% 0.1427 -0.1182)
OKLCHoklch(49.9% 0.185 320.4)
XYZxyz(18.9891, 10.7304, 35.2464)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32A2 #45A232
analogous
#5732A2 #8F32A2 #A2327D
triadic
#8F32A2 #A28F32 #32A28F
tetradic
#8F32A2 #A25732 #45A232 #327DA2
square
#8F32A2 #A25732 #45A232 #327DA2
split-complementary
#8F32A2 #7DA232 #32A257
monochromatic
#3C1544 #662473 #8F32A2 #B24AC7 #C679D6

Accessibility & contrast

On white

6.68
#8F32A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F32A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32A2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32A2#FFFFFF#000000##FFFFFF
##8F32A21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#3D5F9F
Tritanopia (blue-blind)
#904666
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f32a2;
/* rgb */ color: rgb(143, 50, 162);
/* oklch */ color: oklch(49.9% 0.185 320.4);
Tailwind
colors: {
  custom: {
    50: '#b372be',
    500: '#8f32a2',
    950: '#000000',
  },
}
SCSS
$custom: #8f32a2;
$custom-light: #b372be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32a2",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 289.821,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.499,
    "c": 0.18536,
    "h": 320.4
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#8F32A2
secondary
#7FBE72
accent
#DC4C64
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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