#8F3FAC#8F3FAC

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

Color values

HEX#8F3FAC
RGBrgb(143, 63, 172)
HSLhsl(284, 46%, 46%)
HSVhsv(284, 63%, 67%)
CMYKcmyk(16.9%, 63.4%, 0%, 32.5%)
CIE-LABlab(41.80, 50.94, -43.97)
CIE-LCHlch(41.80, 67.29, 319.20°)
OKLaboklab(52.03% 0.1274 -0.1233)
OKLCHoklch(52.03% 0.177 315.9)
XYZxyz(20.5504, 12.3739, 40.3276)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FAC #5CAC3F
analogous
#583FAC #8F3FAC #AC3F92
triadic
#8F3FAC #AC8F3F #3FAC8F
tetradic
#8F3FAC #AC583F #5CAC3F #3F92AC
square
#8F3FAC #AC583F #5CAC3F #3F92AC
split-complementary
#8F3FAC #92AC3F #3FAC58
monochromatic
#451E52 #6A2F7F #8F3FAC #AB63C6 #C38FD6

Accessibility & contrast

On white

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

On black

3.47
#8F3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8F3FAC#FFFFFF#000000##FFFFFF
##8F3FAC1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EAF
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#8D5370
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3fac;
/* rgb */ color: rgb(143, 63, 172);
/* oklch */ color: oklch(52.0% 0.177 315.9);
Tailwind
colors: {
  custom: {
    50: '#b379c5',
    500: '#8f3fac',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fac;
$custom-light: #b379c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fac",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 284.037,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.17723,
    "h": 315.9
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#8F3FAC
secondary
#95C186
accent
#D65275
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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