#8C2CB1#8C2CB1

#8C2CB1 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.205 H 314.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8C2CB1
RGBrgb(140, 44, 177)
HSLhsl(283, 60%, 43%)
HSVhsv(283, 75%, 69%)
CMYKcmyk(20.9%, 75.1%, 0%, 30.6%)
CIE-LABlab(38.82, 59.38, -51.76)
CIE-LCHlch(38.82, 78.77, 318.92°)
OKLaboklab(49.9% 0.1437 -0.1461)
OKLCHoklch(49.9% 0.205 314.5)
XYZxyz(19.6504, 10.5518, 42.5880)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CB1 #51B12C
analogous
#492CB1 #8C2CB1 #B12C93
triadic
#8C2CB1 #B18C2C #2CB18C
tetradic
#8C2CB1 #B1492C #51B12C #2C93B1
square
#8C2CB1 #B1492C #51B12C #2C93B1
split-complementary
#8C2CB1 #93B12C #2CB149
monochromatic
#3E144F #652080 #8C2CB1 #AC49D2 #C27ADE

Accessibility & contrast

On white

6.75
#8C2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8C2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CB1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CB1#FFFFFF#000000##FFFFFF
##8C2CB11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#245EAE
Tritanopia (blue-blind)
#894A6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c2cb1;
/* rgb */ color: rgb(140, 44, 177);
/* oklch */ color: oklch(49.9% 0.205 314.5);
Tailwind
colors: {
  custom: {
    50: '#b26fc9',
    500: '#8c2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #8c2cb1;
$custom-light: #b26fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2cb1",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 283.308,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.499,
    "c": 0.2049,
    "h": 314.5
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#8C2CB1
secondary
#8AC673
accent
#E34471
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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