#8B2BA8#8B2BA8

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

Color values

HEX#8B2BA8
RGBrgb(139, 43, 168)
HSLhsl(286, 59%, 41%)
HSVhsv(286, 74%, 66%)
CMYKcmyk(17.3%, 74.4%, 0%, 34.1%)
CIE-LABlab(37.92, 57.75, -47.84)
CIE-LCHlch(37.92, 74.99, 320.36°)
OKLaboklab(49.04% 0.1446 -0.1346)
OKLCHoklch(49.04% 0.198 317)
XYZxyz(18.5782, 10.0447, 37.9984)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BA8 #48A82B
analogous
#4D2BA8 #8B2BA8 #A82B87
triadic
#8B2BA8 #A88B2B #2BA88B
tetradic
#8B2BA8 #A84D2B #48A82B #2B87A8
square
#8B2BA8 #A84D2B #48A82B #2B87A8
split-complementary
#8B2BA8 #87A82B #2BA84D
monochromatic
#3A1247 #631F77 #8B2BA8 #AE42CF #C372DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2BA8#FFFFFF#000000##FFFFFF
##8B2BA81.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)
#0053AB
Deuteranopia (green-blind)
#2D5CA5
Tritanopia (blue-blind)
#8A4567
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ba8;
/* rgb */ color: rgb(139, 43, 168);
/* oklch */ color: oklch(49.0% 0.198 317.0);
Tailwind
colors: {
  custom: {
    50: '#b16ec2',
    500: '#8b2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ba8;
$custom-light: #b16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ba8",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 286.08,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.19751,
    "h": 317
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#8B2BA8
secondary
#80C26C
accent
#E2456A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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