#8B2FAE#8B2FAE

#8B2FAE is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.198 H 314.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8B2FAE
RGBrgb(139, 47, 174)
HSLhsl(283, 57%, 43%)
HSVhsv(283, 73%, 68%)
CMYKcmyk(20.1%, 73%, 0%, 31.8%)
CIE-LABlab(38.86, 57.43, -49.91)
CIE-LCHlch(38.86, 76.08, 319.01°)
OKLaboklab(49.84% 0.14 -0.1407)
OKLCHoklch(49.84% 0.198 314.9)
XYZxyz(19.3027, 10.5787, 41.0613)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FAE #52AE2F
analogous
#4C2FAE #8B2FAE #AE2F91
triadic
#8B2FAE #AE8B2F #2FAE8B
tetradic
#8B2FAE #AE4C2F #52AE2F #2F91AE
square
#8B2FAE #AE4C2F #52AE2F #2F91AE
split-complementary
#8B2FAE #91AE2F #2FAE4C
monochromatic
#3E154E #65227E #8B2FAE #AA4CCF #C17CDC

Accessibility & contrast

On white

6.74
#8B2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8B2FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FAE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FAE#FFFFFF#000000##FFFFFF
##8B2FAE1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#2A5EAB
Tritanopia (blue-blind)
#884A6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2fae;
/* rgb */ color: rgb(139, 47, 174);
/* oklch */ color: oklch(49.8% 0.198 314.9);
Tailwind
colors: {
  custom: {
    50: '#b170c7',
    500: '#8b2fae',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fae;
$custom-light: #b170c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fae",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 283.465,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.19844,
    "h": 314.9
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#8B2FAE
secondary
#8BC475
accent
#E14771
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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