#8C2BB1#8C2BB1

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

Color values

HEX#8C2BB1
RGBrgb(140, 43, 177)
HSLhsl(283, 61%, 43%)
HSVhsv(283, 76%, 69%)
CMYKcmyk(20.9%, 75.7%, 0%, 30.6%)
CIE-LABlab(38.69, 59.75, -51.96)
CIE-LCHlch(38.69, 79.18, 318.99°)
OKLaboklab(49.81% 0.1446 -0.1467)
OKLCHoklch(49.81% 0.206 314.6)
XYZxyz(19.6136, 10.4782, 42.5758)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BB1 #50B12B
analogous
#492BB1 #8C2BB1 #B12B93
triadic
#8C2BB1 #B18C2B #2BB18C
tetradic
#8C2BB1 #B1492B #50B12B #2B93B1
square
#8C2BB1 #B1492B #50B12B #2B93B1
split-complementary
#8C2BB1 #93B12B #2BB149
monochromatic
#3E134F #651F80 #8C2BB1 #AC47D2 #C278DE

Accessibility & contrast

On white

6.78
#8C2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C2BB1
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BB1#FFFFFF#000000##FFFFFF
##8C2BB11.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#235DAE
Tritanopia (blue-blind)
#89496D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c2bb1;
/* rgb */ color: rgb(140, 43, 177);
/* oklch */ color: oklch(49.8% 0.206 314.6);
Tailwind
colors: {
  custom: {
    50: '#b26fc9',
    500: '#8c2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bb1;
$custom-light: #b26fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bb1",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 283.433,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.20597,
    "h": 314.6
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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