#8F3BAD#8F3BAD

#8F3BAD is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.6% C 0.184 H 315.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8F3BAD
RGBrgb(143, 59, 173)
HSLhsl(284, 49%, 45%)
HSVhsv(284, 66%, 68%)
CMYKcmyk(17.3%, 65.9%, 0%, 32.2%)
CIE-LABlab(41.19, 53.01, -45.54)
CIE-LCHlch(41.19, 69.88, 319.33°)
OKLaboklab(51.61% 0.1321 -0.1278)
OKLCHoklch(51.61% 0.184 315.9)
XYZxyz(20.4333, 11.9854, 40.7641)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BAD #59AD3B
analogous
#563BAD #8F3BAD #AD3B92
triadic
#8F3BAD #AD8F3B #3BAD8F
tetradic
#8F3BAD #AD563B #59AD3B #3B92AD
square
#8F3BAD #AD563B #59AD3B #3B92AD
split-complementary
#8F3BAD #92AD3B #3BAD56
monochromatic
#441C52 #692B7F #8F3BAD #AC5DC8 #C38BD7

Accessibility & contrast

On white

6.18
#8F3BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F3BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BAD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BAD#FFFFFF#000000##FFFFFF
##8F3BAD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075CB0
Deuteranopia (green-blind)
#3B64AA
Tritanopia (blue-blind)
#8D506F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3bad;
/* rgb */ color: rgb(143, 59, 173);
/* oklch */ color: oklch(51.6% 0.184 315.9);
Tailwind
colors: {
  custom: {
    50: '#b377c6',
    500: '#8f3bad',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bad;
$custom-light: #b377c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bad",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 284.211,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.18383,
    "h": 315.9
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#8F3BAD
secondary
#93C282
accent
#D94F73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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