#8F3BB3#8F3BB3

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

Color values

HEX#8F3BB3
RGBrgb(143, 59, 179)
HSLhsl(282, 50%, 47%)
HSVhsv(282, 67%, 70%)
CMYKcmyk(20.1%, 67%, 0%, 29.8%)
CIE-LABlab(41.57, 54.26, -48.49)
CIE-LCHlch(41.57, 72.77, 318.22°)
OKLaboklab(52% 0.1318 -0.1365)
OKLCHoklch(52% 0.19 314)
XYZxyz(21.0270, 12.2229, 43.8907)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BB3 #5FB33B
analogous
#533BB3 #8F3BB3 #B33B9B
triadic
#8F3BB3 #B38F3B #3BB38F
tetradic
#8F3BB3 #B3533B #5FB33B #3B9BB3
square
#8F3BB3 #B3533B #5FB33B #3B9BB3
split-complementary
#8F3BB3 #9BB33B #3BB353
monochromatic
#451D57 #6A2C85 #8F3BB3 #AB60CB #C38EDA

Accessibility & contrast

On white

6.10
#8F3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3BB3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BB3#FFFFFF#000000##FFFFFF
##8F3BB31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#8C5372
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3bb3;
/* rgb */ color: rgb(143, 59, 179);
/* oklch */ color: oklch(52.0% 0.190 314.0);
Tailwind
colors: {
  custom: {
    50: '#b377ca',
    500: '#8f3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bb3;
$custom-light: #b377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bb3",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 282,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.18973,
    "h": 314
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#8F3BB3
secondary
#98C585
accent
#DA4E78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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