#8C2BBB#8C2BBB

#8C2BBB is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.215 H 311.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8C2BBB
RGBrgb(140, 43, 187)
HSLhsl(280, 63%, 45%)
HSVhsv(280, 77%, 73%)
CMYKcmyk(25.1%, 77%, 0%, 26.7%)
CIE-LABlab(39.40, 61.79, -56.72)
CIE-LCHlch(39.40, 83.88, 317.45°)
OKLaboklab(50.53% 0.1429 -0.1606)
OKLCHoklch(50.53% 0.215 311.7)
XYZxyz(20.6471, 10.8916, 48.0187)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BBB #5ABB2B
analogous
#442BBB #8C2BBB #BB2BA2
triadic
#8C2BBB #BB8C2B #2BBB8C
tetradic
#8C2BBB #BB442B #5ABB2B #2BA2BB
square
#8C2BBB #BB442B #5ABB2B #2BA2BB
split-complementary
#8C2BBB #A2BB2B #2BBB44
monochromatic
#411457 #672089 #8C2BBB #A94DD6 #C17FE2

Accessibility & contrast

On white

6.61
#8C2BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8C2BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BBB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BBB#FFFFFF#000000##FFFFFF
##8C2BBB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0C5FB8
Tritanopia (blue-blind)
#864E72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8c2bbb;
/* rgb */ color: rgb(140, 43, 187);
/* oklch */ color: oklch(50.5% 0.215 311.7);
Tailwind
colors: {
  custom: {
    50: '#b26fd0',
    500: '#8c2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bbb;
$custom-light: #b26fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bbb",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 280.417,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.21501,
    "h": 311.7
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#8C2BBB
secondary
#93CA78
accent
#E64278
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8C2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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