#8C1FA6#8C1FA6

#8C1FA6 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.208 H 318.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8C1FA6
RGBrgb(140, 31, 166)
HSLhsl(288, 69%, 39%)
HSVhsv(288, 81%, 65%)
CMYKcmyk(15.7%, 81.3%, 0%, 34.9%)
CIE-LABlab(36.57, 61.51, -48.81)
CIE-LCHlch(36.57, 78.52, 321.57°)
OKLaboklab(48.08% 0.1563 -0.1373)
OKLCHoklch(48.08% 0.208 318.7)
XYZxyz(18.1872, 9.3095, 36.9079)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1FA6 #39A61F
analogous
#481FA6 #8C1FA6 #A61F7C
triadic
#8C1FA6 #A68C1F #1FA68C
tetradic
#8C1FA6 #A6481F #39A61F #1F7CA6
square
#8C1FA6 #A6481F #39A61F #1F7CA6
split-complementary
#8C1FA6 #7CA61F #1FA648
monochromatic
#350C3F #611572 #8C1FA6 #B62BD7 #C85EE1

Accessibility & contrast

On white

7.34
#8C1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8C1FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1FA6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1FA6#FFFFFF#000000##FFFFFF
##8C1FA61.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#2859A3
Tritanopia (blue-blind)
#8B3E64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c1fa6;
/* rgb */ color: rgb(140, 31, 166);
/* oklch */ color: oklch(48.1% 0.208 318.7);
Tailwind
colors: {
  custom: {
    50: '#b26ac1',
    500: '#8c1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #8c1fa6;
$custom-light: #b26ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1fa6",
  "rgb": {
    "r": 140,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 288.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48077,
    "c": 0.20804,
    "h": 318.7
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#8C1FA6
secondary
#70C55B
accent
#EB3C5E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8C1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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