#8F33AF#8F33AF

#8F33AF is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.196 H 315.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8F33AF
RGBrgb(143, 51, 175)
HSLhsl(285, 55%, 44%)
HSVhsv(285, 71%, 69%)
CMYKcmyk(18.3%, 70.9%, 0%, 31.4%)
CIE-LABlab(40.09, 56.87, -48.50)
CIE-LCHlch(40.09, 74.74, 319.54°)
OKLaboklab(50.85% 0.1408 -0.1364)
OKLCHoklch(50.85% 0.196 315.9)
XYZxyz(20.2482, 11.3032, 41.6643)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33AF #53AF33
analogous
#5133AF #8F33AF #AF3391
triadic
#8F33AF #AF8F33 #33AF8F
tetradic
#8F33AF #AF5133 #53AF33 #3391AF
square
#8F33AF #AF5133 #53AF33 #3391AF
split-complementary
#8F33AF #91AF33 #33AF51
monochromatic
#421750 #682580 #8F33AF #AD52CD #C482DB

Accessibility & contrast

On white

6.44
#8F33AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8F33AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33AF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33AF#FFFFFF#000000##FFFFFF
##8F33AF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#8D4C6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f33af;
/* rgb */ color: rgb(143, 51, 175);
/* oklch */ color: oklch(50.9% 0.196 315.9);
Tailwind
colors: {
  custom: {
    50: '#b473c7',
    500: '#8f33af',
    950: '#000000',
  },
}
SCSS
$custom: #8f33af;
$custom-light: #b473c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33af",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 284.516,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.1961,
    "h": 315.9
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#8F33AF
secondary
#8DC47A
accent
#DE4A70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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