#8F3BB7#8F3BB7

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

Color values

HEX#8F3BB7
RGBrgb(143, 59, 183)
HSLhsl(281, 51%, 47%)
HSVhsv(281, 68%, 72%)
CMYKcmyk(21.9%, 67.8%, 0%, 28.2%)
CIE-LABlab(41.82, 55.11, -50.43)
CIE-LCHlch(41.82, 74.70, 317.54°)
OKLaboklab(52.26% 0.1315 -0.1422)
OKLCHoklch(52.26% 0.194 312.8)
XYZxyz(21.4374, 12.3871, 46.0522)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BB7 #63B73B
analogous
#513BB7 #8F3BB7 #B73BA1
triadic
#8F3BB7 #B78F3B #3BB78F
tetradic
#8F3BB7 #B7513B #63B73B #3BA1B7
square
#8F3BB7 #B7513B #63B73B #3BA1B7
split-complementary
#8F3BB7 #A1B73B #3BB751
monochromatic
#471D5A #6B2C89 #8F3BB7 #AA63CD #C391DC

Accessibility & contrast

On white

6.04
#8F3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BB7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BB7#FFFFFF#000000##FFFFFF
##8F3BB71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#3165B4
Tritanopia (blue-blind)
#8B5474
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3bb7;
/* rgb */ color: rgb(143, 59, 183);
/* oklch */ color: oklch(52.3% 0.194 312.8);
Tailwind
colors: {
  custom: {
    50: '#b477cd',
    500: '#8f3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bb7;
$custom-light: #b477cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bb7",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 280.645,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.19368,
    "h": 312.8
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#8F3BB7
secondary
#9CC687
accent
#DB4D7B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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