#8F33AA#8F33AA

#8F33AA is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.191 H 317.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8F33AA
RGBrgb(143, 51, 170)
HSLhsl(286, 54%, 43%)
HSVhsv(286, 70%, 67%)
CMYKcmyk(15.9%, 70%, 0%, 33.3%)
CIE-LABlab(39.77, 55.86, -46.04)
CIE-LCHlch(39.77, 72.39, 320.51°)
OKLaboklab(50.52% 0.1412 -0.1292)
OKLCHoklch(50.52% 0.191 317.5)
XYZxyz(19.7662, 11.1104, 39.1258)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33AA #4EAA33
analogous
#5433AA #8F33AA #AA3389
triadic
#8F33AA #AA8F33 #33AA8F
tetradic
#8F33AA #AA5433 #4EAA33 #3389AA
square
#8F33AA #AA5433 #4EAA33 #3389AA
split-complementary
#8F33AA #89AA33 #33AA54
monochromatic
#40174C #67257B #8F33AA #AF50CA #C47FD9

Accessibility & contrast

On white

6.52
#8F33AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F33AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33AA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33AA#FFFFFF#000000##FFFFFF
##8F33AA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#3761A7
Tritanopia (blue-blind)
#8E4A6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f33aa;
/* rgb */ color: rgb(143, 51, 170);
/* oklch */ color: oklch(50.5% 0.191 317.5);
Tailwind
colors: {
  custom: {
    50: '#b373c4',
    500: '#8f33aa',
    950: '#000000',
  },
}
SCSS
$custom: #8f33aa;
$custom-light: #b373c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33aa",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 286.387,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.19145,
    "h": 317.5
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#8F33AA
secondary
#88C277
accent
#DD4B6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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