#8B2CA6#8B2CA6

#8B2CA6 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.195 H 317.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8B2CA6
RGBrgb(139, 44, 166)
HSLhsl(287, 58%, 41%)
HSVhsv(287, 73%, 65%)
CMYKcmyk(16.3%, 73.5%, 0%, 34.9%)
CIE-LABlab(37.92, 56.98, -46.64)
CIE-LCHlch(37.92, 73.64, 320.70°)
OKLaboklab(49% 0.1438 -0.1311)
OKLCHoklch(49% 0.195 317.6)
XYZxyz(18.4301, 10.0443, 37.0369)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA6 #47A62C
analogous
#4E2CA6 #8B2CA6 #A62C84
triadic
#8B2CA6 #A68B2C #2CA68B
tetradic
#8B2CA6 #A64E2C #47A62C #2C84A6
square
#8B2CA6 #A64E2C #47A62C #2C84A6
split-complementary
#8B2CA6 #84A62C #2CA64E
monochromatic
#3A1245 #621F76 #8B2CA6 #AE42CD #C373DA

Accessibility & contrast

On white

6.98
#8B2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8B2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CA6
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA6#FFFFFF#000000##FFFFFF
##8B2CA61.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#305CA3
Tritanopia (blue-blind)
#8A4567
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ca6;
/* rgb */ color: rgb(139, 44, 166);
/* oklch */ color: oklch(49.0% 0.195 317.6);
Tailwind
colors: {
  custom: {
    50: '#b16fc1',
    500: '#8b2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca6;
$custom-light: #b16fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca6",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 286.721,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48999,
    "c": 0.19458,
    "h": 317.6
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#8B2CA6
secondary
#7FC16D
accent
#E14669
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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