#8C2CB2#8C2CB2

#8C2CB2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.206 H 314.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8C2CB2
RGBrgb(140, 44, 178)
HSLhsl(283, 60%, 44%)
HSVhsv(283, 75%, 70%)
CMYKcmyk(21.3%, 75.3%, 0%, 30.2%)
CIE-LABlab(38.88, 59.58, -52.24)
CIE-LCHlch(38.88, 79.24, 318.76°)
OKLaboklab(49.97% 0.1436 -0.1475)
OKLCHoklch(49.97% 0.206 314.2)
XYZxyz(19.7504, 10.5918, 43.1149)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2CB2 #52B22C
analogous
#492CB2 #8C2CB2 #B22C95
triadic
#8C2CB2 #B28C2C #2CB28C
tetradic
#8C2CB2 #B2492C #52B22C #2C95B2
square
#8C2CB2 #B2492C #52B22C #2C95B2
split-complementary
#8C2CB2 #95B22C #2CB249
monochromatic
#3F1450 #652081 #8C2CB2 #AB49D2 #C27ADE

Accessibility & contrast

On white

6.73
#8C2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8C2CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2CB2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2CB2#FFFFFF#000000##FFFFFF
##8C2CB21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#884A6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8c2cb2;
/* rgb */ color: rgb(140, 44, 178);
/* oklch */ color: oklch(50.0% 0.206 314.2);
Tailwind
colors: {
  custom: {
    50: '#b26fca',
    500: '#8c2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8c2cb2;
$custom-light: #b26fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2cb2",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 282.985,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4997,
    "c": 0.2058,
    "h": 314.2
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#8C2CB2
secondary
#8BC673
accent
#E44471
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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