#8F3DB1#8F3DB1

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

Color values

HEX#8F3DB1
RGBrgb(143, 61, 177)
HSLhsl(282, 49%, 47%)
HSVhsv(282, 66%, 69%)
CMYKcmyk(19.2%, 65.5%, 0%, 30.6%)
CIE-LABlab(41.77, 52.93, -46.98)
CIE-LCHlch(41.77, 70.77, 318.41°)
OKLaboklab(52.1% 0.1296 -0.1321)
OKLCHoklch(52.1% 0.185 314.5)
XYZxyz(20.9309, 12.3521, 42.8681)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DB1 #5FB13D
analogous
#553DB1 #8F3DB1 #B13D99
triadic
#8F3DB1 #B18F3D #3DB18F
tetradic
#8F3DB1 #B1553D #5FB13D #3D99B1
square
#8F3DB1 #B1553D #5FB13D #3D99B1
split-complementary
#8F3DB1 #99B13D #3DB155
monochromatic
#451E56 #6A2D83 #8F3DB1 #AB62C9 #C390D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F3DB1#FFFFFF#000000##FFFFFF
##8F3DB11.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)
#035EB4
Deuteranopia (green-blind)
#3965AE
Tritanopia (blue-blind)
#8C5372
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3db1;
/* rgb */ color: rgb(143, 61, 177);
/* oklch */ color: oklch(52.1% 0.185 314.5);
Tailwind
colors: {
  custom: {
    50: '#b378c9',
    500: '#8f3db1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3db1;
$custom-light: #b378c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3db1",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 282.414,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.521,
    "c": 0.18504,
    "h": 314.5
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#8F3DB1
secondary
#98C486
accent
#D85078
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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