#8C1CB4#8C1CB4

#8C1CB4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.9% C 0.222 H 314.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8C1CB4
RGBrgb(140, 28, 180)
HSLhsl(284, 73%, 41%)
HSVhsv(284, 84%, 71%)
CMYKcmyk(22.2%, 84.4%, 0%, 29.4%)
CIE-LABlab(37.30, 64.98, -55.98)
CIE-LCHlch(37.30, 85.77, 319.25°)
OKLaboklab(48.91% 0.1556 -0.1584)
OKLCHoklch(48.91% 0.222 314.5)
XYZxyz(19.4673, 9.7020, 44.0184)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1CB4 #44B41C
analogous
#401CB4 #8C1CB4 #B41C90
triadic
#8C1CB4 #B48C1C #1CB48C
tetradic
#8C1CB4 #B4401C #44B41C #1C90B4
square
#8C1CB4 #B4401C #44B41C #1C90B4
split-complementary
#8C1CB4 #90B41C #1CB440
monochromatic
#3A0C4A #63147F #8C1CB4 #B02FDF #C464E7

Accessibility & contrast

On white

7.14
#8C1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8C1CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1CB4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1CB4#FFFFFF#000000##FFFFFF
##8C1CB41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#085AB1
Tritanopia (blue-blind)
#88446B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c1cb4;
/* rgb */ color: rgb(140, 28, 180);
/* oklch */ color: oklch(48.9% 0.222 314.5);
Tailwind
colors: {
  custom: {
    50: '#b369cb',
    500: '#8c1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #8c1cb4;
$custom-light: #b369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1cb4",
  "rgb": {
    "r": 140,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 284.211,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48905,
    "c": 0.222,
    "h": 314.5
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#8C1CB4
secondary
#7CCC60
accent
#F03868
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8C1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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