#8F3AB9#8F3AB9

#8F3AB9 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.197 H 312.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8F3AB9
RGBrgb(143, 58, 185)
HSLhsl(280, 52%, 48%)
HSVhsv(280, 69%, 73%)
CMYKcmyk(22.7%, 68.6%, 0%, 27.5%)
CIE-LABlab(41.80, 55.98, -51.65)
CIE-LCHlch(41.80, 76.17, 317.30°)
OKLaboklab(52.28% 0.1325 -0.1457)
OKLCHoklch(52.28% 0.197 312.3)
XYZxyz(21.5961, 12.3691, 47.1394)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AB9 #64B93A
analogous
#4F3AB9 #8F3AB9 #B93AA4
triadic
#8F3AB9 #B98F3A #3AB98F
tetradic
#8F3AB9 #B94F3A #64B93A #3AA4B9
square
#8F3AB9 #B94F3A #64B93A #3AA4B9
split-complementary
#8F3AB9 #A4B93A #3AB94F
monochromatic
#471D5C #6B2B8A #8F3AB9 #AA62CE #C391DC

Accessibility & contrast

On white

6.05
#8F3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8F3AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AB9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AB9#FFFFFF#000000##FFFFFF
##8F3AB91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#2D64B6
Tritanopia (blue-blind)
#8A5475
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3ab9;
/* rgb */ color: rgb(143, 58, 185);
/* oklch */ color: oklch(52.3% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#b477cf',
    500: '#8f3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ab9;
$custom-light: #b477cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ab9",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 280.157,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.19695,
    "h": 312.3
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#8F3AB9
secondary
#9DC787
accent
#DC4C7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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