#8C2BB2#8C2BB2

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

Color values

HEX#8C2BB2
RGBrgb(140, 43, 178)
HSLhsl(283, 61%, 43%)
HSVhsv(283, 76%, 70%)
CMYKcmyk(21.3%, 75.8%, 0%, 30.2%)
CIE-LABlab(38.76, 59.95, -52.44)
CIE-LCHlch(38.76, 79.65, 318.82°)
OKLaboklab(49.88% 0.1445 -0.1481)
OKLCHoklch(49.88% 0.207 314.3)
XYZxyz(19.7136, 10.5182, 43.1026)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BB2 #51B22B
analogous
#482BB2 #8C2BB2 #B22B94
triadic
#8C2BB2 #B28C2B #2BB28C
tetradic
#8C2BB2 #B2482B #51B22B #2B94B2
square
#8C2BB2 #B2482B #51B22B #2B94B2
split-complementary
#8C2BB2 #94B22B #2BB248
monochromatic
#3E134F #651F81 #8C2BB2 #AC48D3 #C279DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C2BB2#FFFFFF#000000##FFFFFF
##8C2BB21.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)
#0056B6
Deuteranopia (green-blind)
#225EAF
Tritanopia (blue-blind)
#884A6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c2bb2;
/* rgb */ color: rgb(140, 43, 178);
/* oklch */ color: oklch(49.9% 0.207 314.3);
Tailwind
colors: {
  custom: {
    50: '#b26fca',
    500: '#8c2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bb2;
$custom-light: #b26fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bb2",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 283.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.20687,
    "h": 314.3
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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