#8B2FAA#8B2FAA

#8B2FAA is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.195 H 316.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8B2FAA
RGBrgb(139, 47, 170)
HSLhsl(285, 57%, 43%)
HSVhsv(285, 72%, 67%)
CMYKcmyk(18.2%, 72.4%, 0%, 33.3%)
CIE-LABlab(38.59, 56.61, -47.95)
CIE-LCHlch(38.59, 74.19, 319.73°)
OKLaboklab(49.56% 0.1404 -0.1349)
OKLCHoklch(49.56% 0.195 316.1)
XYZxyz(18.9186, 10.4250, 39.0381)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FAA #4EAA2F
analogous
#4D2FAA #8B2FAA #AA2F8C
triadic
#8B2FAA #AA8B2F #2FAA8B
tetradic
#8B2FAA #AA4D2F #4EAA2F #2F8CAA
square
#8B2FAA #AA4D2F #4EAA2F #2F8CAA
split-complementary
#8B2FAA #8CAA2F #2FAA4D
monochromatic
#3D144A #64227A #8B2FAA #AC49CD #C279DA

Accessibility & contrast

On white

6.81
#8B2FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8B2FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FAA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FAA#FFFFFF#000000##FFFFFF
##8B2FAA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#2E5DA7
Tritanopia (blue-blind)
#89486A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2faa;
/* rgb */ color: rgb(139, 47, 170);
/* oklch */ color: oklch(49.6% 0.195 316.1);
Tailwind
colors: {
  custom: {
    50: '#b170c4',
    500: '#8b2faa',
    950: '#000000',
  },
}
SCSS
$custom: #8b2faa;
$custom-light: #b170c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2faa",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 284.878,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.19474,
    "h": 316.1
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#8B2FAA
secondary
#87C272
accent
#E0486E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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