#8C1EBC#8C1EBC

#8C1EBC is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.6% C 0.227 H 312.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8C1EBC
RGBrgb(140, 30, 188)
HSLhsl(282, 72%, 43%)
HSVhsv(282, 84%, 74%)
CMYKcmyk(25.5%, 84%, 0%, 26.3%)
CIE-LABlab(38.08, 66.02, -59.44)
CIE-LCHlch(38.08, 88.84, 318.00°)
OKLaboklab(49.64% 0.1524 -0.1685)
OKLCHoklch(49.64% 0.227 312.1)
XYZxyz(20.3549, 10.1354, 48.4513)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1EBC #4EBC1E
analogous
#3D1EBC #8C1EBC #BC1E9D
triadic
#8C1EBC #BC8C1E #1EBC8C
tetradic
#8C1EBC #BC3D1E #4EBC1E #1E9DBC
square
#8C1EBC #BC3D1E #4EBC1E #1E9DBC
split-complementary
#8C1EBC #9DBC1E #1EBC3D
monochromatic
#3D0D52 #651687 #8C1EBC #AC38DF #C26DE8

Accessibility & contrast

On white

6.94
#8C1EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8C1EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C1EBC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1EBC#FFFFFF#000000##FFFFFF
##8C1EBC1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#864970
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8c1ebc;
/* rgb */ color: rgb(140, 30, 188);
/* oklch */ color: oklch(49.6% 0.227 312.1);
Tailwind
colors: {
  custom: {
    50: '#b36ad1',
    500: '#8c1ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8c1ebc;
$custom-light: #b36ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1ebc",
  "rgb": {
    "r": 140,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 281.772,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.22721,
    "h": 312.1
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#8C1EBC
secondary
#87CE68
accent
#EF3970
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120714
muted
#817A83

Preview Lab

Preview with #8C1EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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