#8F35AC#8F35AC

#8F35AC is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.191 H 316.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8F35AC
RGBrgb(143, 53, 172)
HSLhsl(285, 53%, 44%)
HSVhsv(285, 69%, 67%)
CMYKcmyk(16.9%, 69.2%, 0%, 32.5%)
CIE-LABlab(40.19, 55.43, -46.55)
CIE-LCHlch(40.19, 72.39, 319.98°)
OKLaboklab(50.86% 0.1389 -0.1308)
OKLCHoklch(50.86% 0.191 316.7)
XYZxyz(20.0461, 11.3652, 40.1595)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35AC #52AC35
analogous
#5435AC #8F35AC #AC358E
triadic
#8F35AC #AC8F35 #35AC8F
tetradic
#8F35AC #AC5435 #52AC35 #358EAC
square
#8F35AC #AC5435 #52AC35 #358EAC
split-complementary
#8F35AC #8EAC35 #35AC54
monochromatic
#41184E #68277D #8F35AC #AD54CA #C483D9

Accessibility & contrast

On white

6.42
#8F35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35AC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35AC#FFFFFF#000000##FFFFFF
##8F35AC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#8D4C6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f35ac;
/* rgb */ color: rgb(143, 53, 172);
/* oklch */ color: oklch(50.9% 0.191 316.7);
Tailwind
colors: {
  custom: {
    50: '#b374c5',
    500: '#8f35ac',
    950: '#000000',
  },
}
SCSS
$custom: #8f35ac;
$custom-light: #b374c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35ac",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 285.378,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.19079,
    "h": 316.7
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#8F35AC
secondary
#8CC27B
accent
#DC4C6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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