#8B2FAD#8B2FAD

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

Color values

HEX#8B2FAD
RGBrgb(139, 47, 173)
HSLhsl(284, 57%, 43%)
HSVhsv(284, 73%, 68%)
CMYKcmyk(19.7%, 72.8%, 0%, 32.2%)
CIE-LABlab(38.79, 57.22, -49.42)
CIE-LCHlch(38.79, 75.61, 319.18°)
OKLaboklab(49.77% 0.1401 -0.1393)
OKLCHoklch(49.77% 0.198 315.2)
XYZxyz(19.2056, 10.5398, 40.5498)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FAD #51AD2F
analogous
#4C2FAD #8B2FAD #AD2F90
triadic
#8B2FAD #AD8B2F #2FAD8B
tetradic
#8B2FAD #AD4C2F #51AD2F #2F90AD
square
#8B2FAD #AD4C2F #51AD2F #2F90AD
split-complementary
#8B2FAD #90AD2F #2FAD4C
monochromatic
#3E154D #64227D #8B2FAD #AB4BCE #C17BDB

Accessibility & contrast

On white

6.76
#8B2FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8B2FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FAD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FAD#FFFFFF#000000##FFFFFF
##8B2FAD1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#2B5EAA
Tritanopia (blue-blind)
#884A6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2fad;
/* rgb */ color: rgb(139, 47, 173);
/* oklch */ color: oklch(49.8% 0.198 315.2);
Tailwind
colors: {
  custom: {
    50: '#b170c6',
    500: '#8b2fad',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fad;
$custom-light: #b170c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fad",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 283.81,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.19751,
    "h": 315.2
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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