#8F3BB1#8F3BB1

#8F3BB1 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.188 H 314.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8F3BB1
RGBrgb(143, 59, 177)
HSLhsl(283, 50%, 46%)
HSVhsv(283, 67%, 69%)
CMYKcmyk(19.2%, 66.7%, 0%, 30.6%)
CIE-LABlab(41.44, 53.84, -47.51)
CIE-LCHlch(41.44, 71.80, 318.58°)
OKLaboklab(51.86% 0.1319 -0.1336)
OKLCHoklch(51.86% 0.188 314.6)
XYZxyz(20.8262, 12.1426, 42.8331)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BB1 #5DB13B
analogous
#543BB1 #8F3BB1 #B13B98
triadic
#8F3BB1 #B18F3B #3BB18F
tetradic
#8F3BB1 #B1543B #5DB13B #3B98B1
square
#8F3BB1 #B1543B #5DB13B #3B98B1
split-complementary
#8F3BB1 #98B13B #3BB154
monochromatic
#451C55 #6A2C83 #8F3BB1 #AB5FCA #C38DD9

Accessibility & contrast

On white

6.13
#8F3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BB1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BB1#FFFFFF#000000##FFFFFF
##8F3BB11.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#8C5271
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3bb1;
/* rgb */ color: rgb(143, 59, 177);
/* oklch */ color: oklch(51.9% 0.188 314.6);
Tailwind
colors: {
  custom: {
    50: '#b377c9',
    500: '#8f3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bb1;
$custom-light: #b377c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bb1",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 282.712,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.18775,
    "h": 314.6
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#8F3BB1
secondary
#96C484
accent
#DA4E76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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