#8C1CB3#8C1CB3

#8C1CB3 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.221 H 314.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8C1CB3
RGBrgb(140, 28, 179)
HSLhsl(285, 73%, 41%)
HSVhsv(285, 84%, 70%)
CMYKcmyk(21.8%, 84.4%, 0%, 29.8%)
CIE-LABlab(37.23, 64.79, -55.51)
CIE-LCHlch(37.23, 85.32, 319.41°)
OKLaboklab(48.83% 0.1558 -0.157)
OKLCHoklch(48.83% 0.221 314.8)
XYZxyz(19.3658, 9.6614, 43.4838)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1CB3 #43B31C
analogous
#401CB3 #8C1CB3 #B31C8F
triadic
#8C1CB3 #B38C1C #1CB38C
tetradic
#8C1CB3 #B3401C #43B31C #1C8FB3
square
#8C1CB3 #B3401C #43B31C #1C8FB3
split-complementary
#8C1CB3 #8FB31C #1CB340
monochromatic
#390B49 #63147E #8C1CB3 #B12EDE #C563E7

Accessibility & contrast

On white

7.16
#8C1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8C1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1CB3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1CB3#FFFFFF#000000##FFFFFF
##8C1CB31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#88436B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c1cb3;
/* rgb */ color: rgb(140, 28, 179);
/* oklch */ color: oklch(48.8% 0.221 314.8);
Tailwind
colors: {
  custom: {
    50: '#b369cb',
    500: '#8c1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #8c1cb3;
$custom-light: #b369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1cb3",
  "rgb": {
    "r": 140,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 284.503,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48829,
    "c": 0.22118,
    "h": 314.8
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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