#8F3AB2#8F3AB2

#8F3AB2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.8% C 0.190 H 314.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8F3AB2
RGBrgb(143, 58, 178)
HSLhsl(283, 51%, 46%)
HSVhsv(283, 67%, 70%)
CMYKcmyk(19.7%, 67.4%, 0%, 30.2%)
CIE-LABlab(41.34, 54.50, -48.25)
CIE-LCHlch(41.34, 72.79, 318.48°)
OKLaboklab(51.81% 0.133 -0.1358)
OKLCHoklch(51.81% 0.19 314.4)
XYZxyz(20.8753, 12.0808, 43.3430)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AB2 #5DB23A
analogous
#533AB2 #8F3AB2 #B23A99
triadic
#8F3AB2 #B28F3A #3AB28F
tetradic
#8F3AB2 #B2533A #5DB23A #3A99B2
square
#8F3AB2 #B2533A #5DB23A #3A99B2
split-complementary
#8F3AB2 #99B23A #3AB253
monochromatic
#451C56 #6A2B84 #8F3AB2 #AB5FCB #C38DDA

Accessibility & contrast

On white

6.15
#8F3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F3AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AB2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AB2#FFFFFF#000000##FFFFFF
##8F3AB21.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#8C5271
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3ab2;
/* rgb */ color: rgb(143, 58, 178);
/* oklch */ color: oklch(51.8% 0.190 314.4);
Tailwind
colors: {
  custom: {
    50: '#b377ca',
    500: '#8f3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ab2;
$custom-light: #b377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ab2",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 282.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.19007,
    "h": 314.4
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#8F3AB2
secondary
#96C483
accent
#DA4D77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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