#8F3CB1#8F3CB1

#8F3CB1 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.186 H 314.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8F3CB1
RGBrgb(143, 60, 177)
HSLhsl(283, 49%, 46%)
HSVhsv(283, 66%, 69%)
CMYKcmyk(19.2%, 66.1%, 0%, 30.6%)
CIE-LABlab(41.61, 53.39, -47.25)
CIE-LCHlch(41.61, 71.29, 318.49°)
OKLaboklab(51.98% 0.1308 -0.1328)
OKLCHoklch(51.98% 0.186 314.6)
XYZxyz(20.8781, 12.2464, 42.8504)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CB1 #5EB13C
analogous
#553CB1 #8F3CB1 #B13C99
triadic
#8F3CB1 #B18F3C #3CB18F
tetradic
#8F3CB1 #B1553C #5EB13C #3C99B1
square
#8F3CB1 #B1553C #5EB13C #3C99B1
split-complementary
#8F3CB1 #99B13C #3CB155
monochromatic
#451D56 #6A2D83 #8F3CB1 #AB61C9 #C38FD9

Accessibility & contrast

On white

6.09
#8F3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8F3CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CB1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CB1#FFFFFF#000000##FFFFFF
##8F3CB11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f3cb1;
/* rgb */ color: rgb(143, 60, 177);
/* oklch */ color: oklch(52.0% 0.186 314.6);
Tailwind
colors: {
  custom: {
    50: '#b378c9',
    500: '#8f3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cb1;
$custom-light: #b378c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cb1",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 282.564,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.18641,
    "h": 314.6
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#8F3CB1
secondary
#97C485
accent
#D94F77
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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