#8C2BB8#8C2BB8

#8C2BB8 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.212 H 312.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8C2BB8
RGBrgb(140, 43, 184)
HSLhsl(281, 62%, 45%)
HSVhsv(281, 77%, 72%)
CMYKcmyk(23.9%, 76.6%, 0%, 27.8%)
CIE-LABlab(39.18, 61.17, -55.31)
CIE-LCHlch(39.18, 82.46, 317.88°)
OKLaboklab(50.31% 0.1435 -0.1565)
OKLCHoklch(50.31% 0.212 312.5)
XYZxyz(20.3292, 10.7645, 46.3450)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BB8 #57B82B
analogous
#462BB8 #8C2BB8 #B82B9E
triadic
#8C2BB8 #B88C2B #2BB88C
tetradic
#8C2BB8 #B8462B #57B82B #2B9EB8
square
#8C2BB8 #B8462B #57B82B #2B9EB8
split-complementary
#8C2BB8 #9EB82B #2BB846
monochromatic
#411455 #661F86 #8C2BB8 #AA4BD5 #C17DE1

Accessibility & contrast

On white

6.66
#8C2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8C2BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BB8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BB8#FFFFFF#000000##FFFFFF
##8C2BB81.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#165EB5
Tritanopia (blue-blind)
#874C71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8c2bb8;
/* rgb */ color: rgb(140, 43, 184);
/* oklch */ color: oklch(50.3% 0.212 312.5);
Tailwind
colors: {
  custom: {
    50: '#b26fce',
    500: '#8c2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bb8;
$custom-light: #b26fce;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bb8",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 281.277,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.21228,
    "h": 312.5
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#8C2BB8
secondary
#90C976
accent
#E54375
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8C2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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