#8F33AC#8F33AC

#8F33AC is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.193 H 316.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8F33AC
RGBrgb(143, 51, 172)
HSLhsl(286, 54%, 44%)
HSVhsv(286, 70%, 67%)
CMYKcmyk(16.9%, 70.3%, 0%, 32.5%)
CIE-LABlab(39.89, 56.26, -47.03)
CIE-LCHlch(39.89, 73.33, 320.11°)
OKLaboklab(50.65% 0.1411 -0.1321)
OKLCHoklch(50.65% 0.193 316.9)
XYZxyz(19.9568, 11.1867, 40.1297)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33AC #50AC33
analogous
#5233AC #8F33AC #AC338C
triadic
#8F33AC #AC8F33 #33AC8F
tetradic
#8F33AC #AC5233 #50AC33 #338CAC
square
#8F33AC #AC5233 #50AC33 #338CAC
split-complementary
#8F33AC #8CAC33 #33AC52
monochromatic
#41174E #68257D #8F33AC #AE51CB #C480D9

Accessibility & contrast

On white

6.49
#8F33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8F33AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33AC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33AC#FFFFFF#000000##FFFFFF
##8F33AC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#3561A9
Tritanopia (blue-blind)
#8E4B6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f33ac;
/* rgb */ color: rgb(143, 51, 172);
/* oklch */ color: oklch(50.7% 0.193 316.9);
Tailwind
colors: {
  custom: {
    50: '#b373c5',
    500: '#8f33ac',
    950: '#000000',
  },
}
SCSS
$custom: #8f33ac;
$custom-light: #b373c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33ac",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 285.62,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.19331,
    "h": 316.9
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#8F33AC
secondary
#8AC278
accent
#DE4A6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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