#8B2CA8#8B2CA8

#8B2CA8 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.196 H 317.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8B2CA8
RGBrgb(139, 44, 168)
HSLhsl(286, 58%, 42%)
HSVhsv(286, 74%, 66%)
CMYKcmyk(17.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(38.05, 57.37, -47.63)
CIE-LCHlch(38.05, 74.57, 320.30°)
OKLaboklab(49.14% 0.1436 -0.134)
OKLCHoklch(49.14% 0.196 317)
XYZxyz(18.6150, 10.1183, 38.0107)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CA8 #49A82C
analogous
#4D2CA8 #8B2CA8 #A82C87
triadic
#8B2CA8 #A88B2C #2CA88B
tetradic
#8B2CA8 #A84D2C #49A82C #2C87A8
square
#8B2CA8 #A84D2C #49A82C #2C87A8
split-complementary
#8B2CA8 #87A82C #2CA84D
monochromatic
#3B1347 #631F78 #8B2CA8 #AD43CE #C374DB

Accessibility & contrast

On white

6.95
#8B2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B2CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CA8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CA8#FFFFFF#000000##FFFFFF
##8B2CA81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#2E5CA5
Tritanopia (blue-blind)
#8A4668
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2ca8;
/* rgb */ color: rgb(139, 44, 168);
/* oklch */ color: oklch(49.1% 0.196 317.0);
Tailwind
colors: {
  custom: {
    50: '#b16fc2',
    500: '#8b2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ca8;
$custom-light: #b16fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ca8",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 285.968,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49135,
    "c": 0.19639,
    "h": 317
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#8B2CA8
secondary
#81C26E
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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