#8F3BB2#8F3BB2

#8F3BB2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.9% C 0.189 H 314.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8F3BB2
RGBrgb(143, 59, 178)
HSLhsl(282, 50%, 46%)
HSVhsv(282, 67%, 70%)
CMYKcmyk(19.7%, 66.9%, 0%, 30.2%)
CIE-LABlab(41.50, 54.05, -48.00)
CIE-LCHlch(41.50, 72.29, 318.40°)
OKLaboklab(51.93% 0.1319 -0.135)
OKLCHoklch(51.93% 0.189 314.3)
XYZxyz(20.9262, 12.1826, 43.3600)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BB2 #5EB23B
analogous
#543BB2 #8F3BB2 #B23B9A
triadic
#8F3BB2 #B28F3B #3BB28F
tetradic
#8F3BB2 #B2543B #5EB23B #3B9AB2
square
#8F3BB2 #B2543B #5EB23B #3B9AB2
split-complementary
#8F3BB2 #9AB23B #3BB254
monochromatic
#451D56 #6A2C84 #8F3BB2 #AB60CA #C38EDA

Accessibility & contrast

On white

6.11
#8F3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8F3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BB2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BB2#FFFFFF#000000##FFFFFF
##8F3BB21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#8C5272
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3bb2;
/* rgb */ color: rgb(143, 59, 178);
/* oklch */ color: oklch(51.9% 0.189 314.3);
Tailwind
colors: {
  custom: {
    50: '#b377ca',
    500: '#8f3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bb2;
$custom-light: #b377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bb2",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 282.353,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.18875,
    "h": 314.3
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#8F3BB2
secondary
#97C485
accent
#DA4E77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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