#8F3CAF#8F3CAF

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

Color values

HEX#8F3CAF
RGBrgb(143, 60, 175)
HSLhsl(283, 49%, 46%)
HSVhsv(283, 66%, 69%)
CMYKcmyk(18.3%, 65.7%, 0%, 31.4%)
CIE-LABlab(41.48, 52.97, -46.26)
CIE-LCHlch(41.48, 70.33, 318.87°)
OKLaboklab(51.85% 0.1309 -0.1299)
OKLCHoklch(51.85% 0.184 315.2)
XYZxyz(20.6802, 12.1672, 41.8083)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CAF #5CAF3C
analogous
#553CAF #8F3CAF #AF3C95
triadic
#8F3CAF #AF8F3C #3CAF8F
tetradic
#8F3CAF #AF553C #5CAF3C #3C95AF
square
#8F3CAF #AF553C #5CAF3C #3C95AF
split-complementary
#8F3CAF #95AF3C #3CAF55
monochromatic
#451D54 #6A2C81 #8F3CAF #AB60C8 #C38DD8

Accessibility & contrast

On white

6.12
#8F3CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F3CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CAF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CAF#FFFFFF#000000##FFFFFF
##8F3CAF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055DB2
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#8D5270
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3caf;
/* rgb */ color: rgb(143, 60, 175);
/* oklch */ color: oklch(51.9% 0.184 315.2);
Tailwind
colors: {
  custom: {
    50: '#b378c7',
    500: '#8f3caf',
    950: '#000000',
  },
}
SCSS
$custom: #8f3caf;
$custom-light: #b378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3caf",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 283.304,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.18443,
    "h": 315.2
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#8F3CAF
secondary
#95C384
accent
#D84F75
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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