#8F33BA#8F33BA

#8F33BA is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.6% C 0.206 H 312.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8F33BA
RGBrgb(143, 51, 186)
HSLhsl(281, 57%, 46%)
HSVhsv(281, 73%, 73%)
CMYKcmyk(23.1%, 72.6%, 0%, 27.1%)
CIE-LABlab(40.82, 59.13, -53.81)
CIE-LCHlch(40.82, 79.95, 317.70°)
OKLaboklab(51.61% 0.1396 -0.152)
OKLCHoklch(51.61% 0.206 312.6)
XYZxyz(21.3728, 11.7531, 47.5876)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33BA #5EBA33
analogous
#4C33BA #8F33BA #BA33A2
triadic
#8F33BA #BA8F33 #33BA8F
tetradic
#8F33BA #BA4C33 #5EBA33 #33A2BA
square
#8F33BA #BA4C33 #5EBA33 #33A2BA
split-complementary
#8F33BA #A2BA33 #33BA4C
monochromatic
#45195A #6A268A #8F33BA #AB59D1 #C389DF

Accessibility & contrast

On white

6.27
#8F33BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8F33BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33BA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33BA#FFFFFF#000000##FFFFFF
##8F33BA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#2462B7
Tritanopia (blue-blind)
#8A5174
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f33ba;
/* rgb */ color: rgb(143, 51, 186);
/* oklch */ color: oklch(51.6% 0.206 312.6);
Tailwind
colors: {
  custom: {
    50: '#b473cf',
    500: '#8f33ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f33ba;
$custom-light: #b473cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33ba",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 280.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.20641,
    "h": 312.6
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#8F33BA
secondary
#97C980
accent
#E04878
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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