#8C1FAE#8C1FAE

#8C1FAE is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.7% C 0.215 H 316.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8C1FAE
RGBrgb(140, 31, 174)
HSLhsl(286, 70%, 40%)
HSVhsv(286, 82%, 68%)
CMYKcmyk(19.5%, 82.2%, 0%, 31.8%)
CIE-LABlab(37.14, 63.03, -52.68)
CIE-LCHlch(37.14, 82.14, 320.11°)
OKLaboklab(48.65% 0.1549 -0.1487)
OKLCHoklch(48.65% 0.215 316.2)
XYZxyz(18.9440, 9.6122, 40.8937)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1FAE #41AE1F
analogous
#441FAE #8C1FAE #AE1F89
triadic
#8C1FAE #AE8C1F #1FAE8C
tetradic
#8C1FAE #AE441F #41AE1F #1F89AE
square
#8C1FAE #AE441F #41AE1F #1F89AE
split-complementary
#8C1FAE #89AE1F #1FAE44
monochromatic
#380C46 #62167A #8C1FAE #B230DA #C564E3

Accessibility & contrast

On white

7.19
#8C1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8C1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1FAE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1FAE#FFFFFF#000000##FFFFFF
##8C1FAE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#1C5AAB
Tritanopia (blue-blind)
#8A4268
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c1fae;
/* rgb */ color: rgb(140, 31, 174);
/* oklch */ color: oklch(48.7% 0.215 316.2);
Tailwind
colors: {
  custom: {
    50: '#b26ac7',
    500: '#8c1fae',
    950: '#000000',
  },
}
SCSS
$custom: #8c1fae;
$custom-light: #b26ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1fae",
  "rgb": {
    "r": 140,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 285.734,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48651,
    "c": 0.21469,
    "h": 316.2
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#8C1FAE
secondary
#79C860
accent
#ED3B65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8C1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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