#8F30AE#8F30AE

#8F30AE is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.199 H 316.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F30AE
RGBrgb(143, 48, 174)
HSLhsl(285, 57%, 44%)
HSVhsv(285, 72%, 68%)
CMYKcmyk(17.8%, 72.4%, 0%, 31.8%)
CIE-LABlab(39.60, 57.87, -48.69)
CIE-LCHlch(39.60, 75.63, 319.92°)
OKLaboklab(50.48% 0.144 -0.137)
OKLCHoklch(50.48% 0.199 316.4)
XYZxyz(20.0235, 11.0103, 41.1067)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30AE #4FAE30
analogous
#5030AE #8F30AE #AE308E
triadic
#8F30AE #AE8F30 #30AE8F
tetradic
#8F30AE #AE5030 #4FAE30 #308EAE
square
#8F30AE #AE5030 #4FAE30 #308EAE
split-complementary
#8F30AE #8EAE30 #30AE50
monochromatic
#40164E #68237E #8F30AE #AE4DCE #C47DDB

Accessibility & contrast

On white

6.56
#8F30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30AE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30AE#FFFFFF#000000##FFFFFF
##8F30AE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3060AB
Tritanopia (blue-blind)
#8D4A6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f30ae;
/* rgb */ color: rgb(143, 48, 174);
/* oklch */ color: oklch(50.5% 0.199 316.4);
Tailwind
colors: {
  custom: {
    50: '#b471c7',
    500: '#8f30ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f30ae;
$custom-light: #b471c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30ae",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 285.238,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.19876,
    "h": 316.4
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#8F30AE
secondary
#89C476
accent
#E0486D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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