#8C2BB9#8C2BB9

#8C2BB9 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.213 H 312.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8C2BB9
RGBrgb(140, 43, 185)
HSLhsl(281, 62%, 45%)
HSVhsv(281, 77%, 73%)
CMYKcmyk(24.3%, 76.8%, 0%, 27.5%)
CIE-LABlab(39.25, 61.37, -55.78)
CIE-LCHlch(39.25, 82.93, 317.73°)
OKLaboklab(50.39% 0.1433 -0.1579)
OKLCHoklch(50.39% 0.213 312.2)
XYZxyz(20.4344, 10.8066, 46.8990)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BB9 #58B92B
analogous
#452BB9 #8C2BB9 #B92B9F
triadic
#8C2BB9 #B98C2B #2BB98C
tetradic
#8C2BB9 #B9452B #58B92B #2B9FB9
square
#8C2BB9 #B9452B #58B92B #2B9FB9
split-complementary
#8C2BB9 #9FB92B #2BB945
monochromatic
#411456 #661F87 #8C2BB9 #AA4CD5 #C17EE1

Accessibility & contrast

On white

6.64
#8C2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8C2BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BB9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BB9#FFFFFF#000000##FFFFFF
##8C2BB91.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#874D71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8c2bb9;
/* rgb */ color: rgb(140, 43, 185);
/* oklch */ color: oklch(50.4% 0.213 312.2);
Tailwind
colors: {
  custom: {
    50: '#b26fcf',
    500: '#8c2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bb9;
$custom-light: #b26fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bb9",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 280.986,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50387,
    "c": 0.21319,
    "h": 312.2
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#8C2BB9
secondary
#91C976
accent
#E54276
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8C2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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