#8C1EA8#8C1EA8

#8C1EA8 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.2% C 0.211 H 318.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8C1EA8
RGBrgb(140, 30, 168)
HSLhsl(288, 70%, 39%)
HSVhsv(288, 82%, 66%)
CMYKcmyk(16.7%, 82.1%, 0%, 34.1%)
CIE-LABlab(36.62, 62.17, -49.94)
CIE-LCHlch(36.62, 79.74, 321.23°)
OKLaboklab(48.15% 0.1567 -0.1406)
OKLCHoklch(48.15% 0.211 318.1)
XYZxyz(18.3464, 9.3320, 37.8731)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1EA8 #3AA81E
analogous
#471EA8 #8C1EA8 #A81E7F
triadic
#8C1EA8 #A88C1E #1EA88C
tetradic
#8C1EA8 #A8471E #3AA81E #1E7FA8
square
#8C1EA8 #A8471E #3AA81E #1E7FA8
split-complementary
#8C1EA8 #7FA81E #1EA847
monochromatic
#350B40 #611574 #8C1EA8 #B62AD9 #C75EE2

Accessibility & contrast

On white

7.33
#8C1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8C1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1EA8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1EA8#FFFFFF#000000##FFFFFF
##8C1EA81.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#2559A5
Tritanopia (blue-blind)
#8B3F65
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c1ea8;
/* rgb */ color: rgb(140, 30, 168);
/* oklch */ color: oklch(48.2% 0.211 318.1);
Tailwind
colors: {
  custom: {
    50: '#b269c3',
    500: '#8c1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8c1ea8;
$custom-light: #b269c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1ea8",
  "rgb": {
    "r": 140,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 287.826,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48151,
    "c": 0.21054,
    "h": 318.1
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#8C1EA8
secondary
#71C75B
accent
#ED3B5F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8C1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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