#8C1EA7#8C1EA7

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

Color values

HEX#8C1EA7
RGBrgb(140, 30, 167)
HSLhsl(288, 70%, 39%)
HSVhsv(288, 82%, 65%)
CMYKcmyk(16.2%, 82%, 0%, 34.5%)
CIE-LABlab(36.55, 61.98, -49.45)
CIE-LCHlch(36.55, 79.29, 321.42°)
OKLaboklab(48.08% 0.1569 -0.1392)
OKLCHoklch(48.08% 0.21 318.4)
XYZxyz(18.2536, 9.2949, 37.3843)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1EA7 #39A71E
analogous
#471EA7 #8C1EA7 #A71E7D
triadic
#8C1EA7 #A78C1E #1EA78C
tetradic
#8C1EA7 #A7471E #39A71E #1E7DA7
square
#8C1EA7 #A7471E #39A71E #1E7DA7
split-complementary
#8C1EA7 #7DA71E #1EA747
monochromatic
#350B3F #611573 #8C1EA7 #B62AD9 #C85DE2

Accessibility & contrast

On white

7.35
#8C1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1EA7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1EA7#FFFFFF#000000##FFFFFF
##8C1EA71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#2659A4
Tritanopia (blue-blind)
#8B3E64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c1ea7;
/* rgb */ color: rgb(140, 30, 167);
/* oklch */ color: oklch(48.1% 0.210 318.4);
Tailwind
colors: {
  custom: {
    50: '#b269c2',
    500: '#8c1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8c1ea7;
$custom-light: #b269c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1ea7",
  "rgb": {
    "r": 140,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 288.175,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4808,
    "c": 0.20972,
    "h": 318.4
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#8C1EA7
secondary
#70C65B
accent
#EC3B5E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8C1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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