#8F35AA#8F35AA

#8F35AA is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.189 H 317.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8F35AA
RGBrgb(143, 53, 170)
HSLhsl(286, 52%, 44%)
HSVhsv(286, 69%, 67%)
CMYKcmyk(15.9%, 68.8%, 0%, 33.3%)
CIE-LABlab(40.06, 55.03, -45.56)
CIE-LCHlch(40.06, 71.44, 320.37°)
OKLaboklab(50.73% 0.1391 -0.1279)
OKLCHoklch(50.73% 0.189 317.4)
XYZxyz(19.8554, 11.2890, 39.1555)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35AA #50AA35
analogous
#5435AA #8F35AA #AA358A
triadic
#8F35AA #AA8F35 #35AA8F
tetradic
#8F35AA #AA5435 #50AA35 #358AAA
square
#8F35AA #AA5435 #50AA35 #358AAA
split-complementary
#8F35AA #8AAA35 #35AA54
monochromatic
#41184D #68267B #8F35AA #AE53C9 #C482D8

Accessibility & contrast

On white

6.45
#8F35AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F35AA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35AA#FFFFFF#000000##FFFFFF
##8F35AA1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#3861A7
Tritanopia (blue-blind)
#8E4B6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f35aa;
/* rgb */ color: rgb(143, 53, 170);
/* oklch */ color: oklch(50.7% 0.189 317.4);
Tailwind
colors: {
  custom: {
    50: '#b374c4',
    500: '#8f35aa',
    950: '#000000',
  },
}
SCSS
$custom: #8f35aa;
$custom-light: #b374c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35aa",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 286.154,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50733,
    "c": 0.18892,
    "h": 317.4
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#8F35AA
secondary
#8AC17A
accent
#DC4C6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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