#8F35AE#8F35AE

#8F35AE is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.193 H 316.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8F35AE
RGBrgb(143, 53, 174)
HSLhsl(285, 53%, 45%)
HSVhsv(285, 70%, 68%)
CMYKcmyk(17.8%, 69.5%, 0%, 31.8%)
CIE-LABlab(40.32, 55.84, -47.54)
CIE-LCHlch(40.32, 73.33, 319.59°)
OKLaboklab(51% 0.1388 -0.1336)
OKLCHoklch(51% 0.193 316.1)
XYZxyz(20.2396, 11.4426, 41.1787)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35AE #54AE35
analogous
#5335AE #8F35AE #AE3591
triadic
#8F35AE #AE8F35 #35AE8F
tetradic
#8F35AE #AE5335 #54AE35 #3591AE
square
#8F35AE #AE5335 #54AE35 #3591AE
split-complementary
#8F35AE #91AE35 #35AE53
monochromatic
#421850 #68277F #8F35AE #AD55CB #C484DA

Accessibility & contrast

On white

6.39
#8F35AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F35AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35AE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35AE#FFFFFF#000000##FFFFFF
##8F35AE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#8D4D6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f35ae;
/* rgb */ color: rgb(143, 53, 174);
/* oklch */ color: oklch(51.0% 0.193 316.1);
Tailwind
colors: {
  custom: {
    50: '#b374c7',
    500: '#8f35ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f35ae;
$custom-light: #b374c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35ae",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 284.628,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50995,
    "c": 0.19268,
    "h": 316.1
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#8F35AE
secondary
#8EC37C
accent
#DD4B70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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