#8C1EA6#8C1EA6

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

Color values

HEX#8C1EA6
RGBrgb(140, 30, 166)
HSLhsl(289, 69%, 38%)
HSVhsv(289, 82%, 65%)
CMYKcmyk(15.7%, 81.9%, 0%, 34.9%)
CIE-LABlab(36.48, 61.80, -48.96)
CIE-LCHlch(36.48, 78.84, 321.61°)
OKLaboklab(48.01% 0.157 -0.1378)
OKLCHoklch(48.01% 0.209 318.7)
XYZxyz(18.1615, 9.2581, 36.8993)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1EA6 #38A61E
analogous
#481EA6 #8C1EA6 #A61E7C
triadic
#8C1EA6 #A68C1E #1EA68C
tetradic
#8C1EA6 #A6481E #38A61E #1E7CA6
square
#8C1EA6 #A6481E #38A61E #1E7CA6
split-complementary
#8C1EA6 #7CA61E #1EA648
monochromatic
#350B3E #601572 #8C1EA6 #B729D8 #C85DE2

Accessibility & contrast

On white

7.36
#8C1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8C1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1EA6
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1EA6#FFFFFF#000000##FFFFFF
##8C1EA61.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c1ea6;
/* rgb */ color: rgb(140, 30, 166);
/* oklch */ color: oklch(48.0% 0.209 318.7);
Tailwind
colors: {
  custom: {
    50: '#b269c1',
    500: '#8c1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #8c1ea6;
$custom-light: #b269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1ea6",
  "rgb": {
    "r": 140,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 288.529,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.20889,
    "h": 318.7
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#8C1EA6
secondary
#6FC65A
accent
#EC3C5D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8C1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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