#8C2CB0#8C2CB0

#8C2CB0 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.204 H 314.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8C2CB0
RGBrgb(140, 44, 176)
HSLhsl(284, 60%, 43%)
HSVhsv(284, 75%, 69%)
CMYKcmyk(20.5%, 75%, 0%, 31%)
CIE-LABlab(38.75, 59.18, -51.27)
CIE-LCHlch(38.75, 78.30, 319.09°)
OKLaboklab(49.83% 0.1438 -0.1446)
OKLCHoklch(49.83% 0.204 314.8)
XYZxyz(19.5511, 10.5121, 42.0650)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CB0 #50B02C
analogous
#4A2CB0 #8C2CB0 #B02C92
triadic
#8C2CB0 #B08C2C #2CB08C
tetradic
#8C2CB0 #B04A2C #50B02C #2C92B0
square
#8C2CB0 #B04A2C #50B02C #2C92B0
split-complementary
#8C2CB0 #92B02C #2CB04A
monochromatic
#3E144E #65207F #8C2CB0 #AC48D1 #C279DD

Accessibility & contrast

On white

6.77
#8C2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8C2CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CB0
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CB0#FFFFFF#000000##FFFFFF
##8C2CB01.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#89496C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c2cb0;
/* rgb */ color: rgb(140, 44, 176);
/* oklch */ color: oklch(49.8% 0.204 314.8);
Tailwind
colors: {
  custom: {
    50: '#b26fc8',
    500: '#8c2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2cb0;
$custom-light: #b26fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2cb0",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 283.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.20399,
    "h": 314.8
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#8C2CB0
secondary
#89C672
accent
#E34570
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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