#8F3CAE#8F3CAE

#8F3CAE is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.8% C 0.183 H 315.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8F3CAE
RGBrgb(143, 60, 174)
HSLhsl(284, 49%, 46%)
HSVhsv(284, 66%, 68%)
CMYKcmyk(17.8%, 65.5%, 0%, 31.8%)
CIE-LABlab(41.42, 52.76, -45.77)
CIE-LCHlch(41.42, 69.84, 319.06°)
OKLaboklab(51.79% 0.1309 -0.1285)
OKLCHoklch(51.79% 0.183 315.5)
XYZxyz(20.5823, 12.1281, 41.2929)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CAE #5BAE3C
analogous
#563CAE #8F3CAE #AE3C94
triadic
#8F3CAE #AE8F3C #3CAE8F
tetradic
#8F3CAE #AE563C #5BAE3C #3C94AE
square
#8F3CAE #AE563C #5BAE3C #3C94AE
split-complementary
#8F3CAE #94AE3C #3CAE56
monochromatic
#441D53 #6A2C80 #8F3CAE #AB5FC8 #C38DD8

Accessibility & contrast

On white

6.13
#8F3CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3CAE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CAE#FFFFFF#000000##FFFFFF
##8F3CAE1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB1
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#8D5170
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3cae;
/* rgb */ color: rgb(143, 60, 174);
/* oklch */ color: oklch(51.8% 0.183 315.5);
Tailwind
colors: {
  custom: {
    50: '#b378c7',
    500: '#8f3cae',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cae;
$custom-light: #b378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cae",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 283.684,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.18344,
    "h": 315.5
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#8F3CAE
secondary
#95C283
accent
#D85075
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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