#8F3AB7#8F3AB7

#8F3AB7 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.195 H 312.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8F3AB7
RGBrgb(143, 58, 183)
HSLhsl(281, 52%, 47%)
HSVhsv(281, 68%, 72%)
CMYKcmyk(21.9%, 68.3%, 0%, 28.2%)
CIE-LABlab(41.67, 55.55, -50.68)
CIE-LCHlch(41.67, 75.20, 317.62°)
OKLaboklab(52.15% 0.1327 -0.1429)
OKLCHoklch(52.15% 0.195 312.9)
XYZxyz(21.3865, 12.2853, 46.0353)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AB7 #62B73A
analogous
#513AB7 #8F3AB7 #B73AA1
triadic
#8F3AB7 #B78F3A #3AB78F
tetradic
#8F3AB7 #B7513A #62B73A #3AA1B7
square
#8F3AB7 #B7513A #62B73A #3AA1B7
split-complementary
#8F3AB7 #A1B73A #3AB751
monochromatic
#461D5A #6B2B89 #8F3AB7 #AB61CD #C390DC

Accessibility & contrast

On white

6.07
#8F3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F3AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AB7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AB7#FFFFFF#000000##FFFFFF
##8F3AB71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#8B5474
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3ab7;
/* rgb */ color: rgb(143, 58, 183);
/* oklch */ color: oklch(52.1% 0.195 312.9);
Tailwind
colors: {
  custom: {
    50: '#b477cd',
    500: '#8f3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ab7;
$custom-light: #b477cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ab7",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 280.8,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.19499,
    "h": 312.9
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#8F3AB7
secondary
#9BC786
accent
#DB4C7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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