#8C1EBB#8C1EBB

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

Color values

HEX#8C1EBB
RGBrgb(140, 30, 187)
HSLhsl(282, 72%, 43%)
HSVhsv(282, 84%, 73%)
CMYKcmyk(25.1%, 84%, 0%, 26.7%)
CIE-LABlab(38.01, 65.82, -58.98)
CIE-LCHlch(38.01, 88.38, 318.14°)
OKLaboklab(49.56% 0.1526 -0.1672)
OKLCHoklch(49.56% 0.226 312.4)
XYZxyz(20.2475, 10.0925, 47.8855)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1EBB #4DBB1E
analogous
#3D1EBB #8C1EBB #BB1E9C
triadic
#8C1EBB #BB8C1E #1EBB8C
tetradic
#8C1EBB #BB3D1E #4DBB1E #1E9CBB
square
#8C1EBB #BB3D1E #4DBB1E #1E9CBB
split-complementary
#8C1EBB #9CBB1E #1EBB3D
monochromatic
#3D0D52 #651686 #8C1EBB #AD37DF #C26CE7

Accessibility & contrast

On white

6.96
#8C1EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8C1EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C1EBB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1EBB#FFFFFF#000000##FFFFFF
##8C1EBB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#864870
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c1ebb;
/* rgb */ color: rgb(140, 30, 187);
/* oklch */ color: oklch(49.6% 0.226 312.4);
Tailwind
colors: {
  custom: {
    50: '#b36ad0',
    500: '#8c1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #8c1ebb;
$custom-light: #b36ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1ebb",
  "rgb": {
    "r": 140,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 282.038,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.22637,
    "h": 312.4
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#8C1EBB
secondary
#86CD67
accent
#EF396F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8C1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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