#8C2BBC#8C2BBC

#8C2BBC is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.216 H 311.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8C2BBC
RGBrgb(140, 43, 188)
HSLhsl(280, 63%, 45%)
HSVhsv(280, 77%, 74%)
CMYKcmyk(25.5%, 77.1%, 0%, 26.3%)
CIE-LABlab(39.47, 61.99, -57.19)
CIE-LCHlch(39.47, 84.35, 317.31°)
OKLaboklab(50.61% 0.1427 -0.162)
OKLCHoklch(50.61% 0.216 311.4)
XYZxyz(20.7545, 10.9346, 48.5845)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BBC #5BBC2B
analogous
#432BBC #8C2BBC #BC2BA3
triadic
#8C2BBC #BC8C2B #2BBC8C
tetradic
#8C2BBC #BC432B #5BBC2B #2BA3BC
square
#8C2BBC #BC432B #5BBC2B #2BA3BC
split-complementary
#8C2BBC #A3BC2B #2BBC43
monochromatic
#421458 #67208A #8C2BBC #A94ED6 #C180E2

Accessibility & contrast

On white

6.59
#8C2BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8C2BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BBC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BBC#FFFFFF#000000##FFFFFF
##8C2BBC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#085FB9
Tritanopia (blue-blind)
#864E73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8c2bbc;
/* rgb */ color: rgb(140, 43, 188);
/* oklch */ color: oklch(50.6% 0.216 311.4);
Tailwind
colors: {
  custom: {
    50: '#b26fd1',
    500: '#8c2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bbc;
$custom-light: #b26fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bbc",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 280.138,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.21592,
    "h": 311.4
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#8C2BBC
secondary
#94CB78
accent
#E64278
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8C2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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