#8F33AB#8F33AB

#8F33AB is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.192 H 317.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8F33AB
RGBrgb(143, 51, 171)
HSLhsl(286, 54%, 44%)
HSVhsv(286, 70%, 67%)
CMYKcmyk(16.4%, 70.2%, 0%, 32.9%)
CIE-LABlab(39.83, 56.06, -46.53)
CIE-LCHlch(39.83, 72.86, 320.31°)
OKLaboklab(50.59% 0.1412 -0.1307)
OKLCHoklch(50.59% 0.192 317.2)
XYZxyz(19.8611, 11.1484, 39.6258)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33AB #4FAB33
analogous
#5333AB #8F33AB #AB338B
triadic
#8F33AB #AB8F33 #33AB8F
tetradic
#8F33AB #AB5333 #4FAB33 #338BAB
square
#8F33AB #AB5333 #4FAB33 #338BAB
split-complementary
#8F33AB #8BAB33 #33AB53
monochromatic
#40174D #68257C #8F33AB #AE50CB #C47FD9

Accessibility & contrast

On white

6.50
#8F33AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8F33AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33AB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33AB#FFFFFF#000000##FFFFFF
##8F33AB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#8E4A6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f33ab;
/* rgb */ color: rgb(143, 51, 171);
/* oklch */ color: oklch(50.6% 0.192 317.2);
Tailwind
colors: {
  custom: {
    50: '#b373c5',
    500: '#8f33ab',
    950: '#000000',
  },
}
SCSS
$custom: #8f33ab;
$custom-light: #b373c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33ab",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 286,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.19238,
    "h": 317.2
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#8F33AB
secondary
#89C278
accent
#DD4A6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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