#8B2EAE#8B2EAE

#8B2EAE is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.200 H 314.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8B2EAE
RGBrgb(139, 46, 174)
HSLhsl(284, 58%, 43%)
HSVhsv(284, 74%, 68%)
CMYKcmyk(20.1%, 73.6%, 0%, 31.8%)
CIE-LABlab(38.72, 57.82, -50.13)
CIE-LCHlch(38.72, 76.52, 319.07°)
OKLaboklab(49.74% 0.1409 -0.1413)
OKLCHoklch(49.74% 0.2 314.9)
XYZxyz(19.2632, 10.4996, 41.0481)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EAE #51AE2E
analogous
#4B2EAE #8B2EAE #AE2E91
triadic
#8B2EAE #AE8B2E #2EAE8B
tetradic
#8B2EAE #AE4B2E #51AE2E #2E91AE
square
#8B2EAE #AE4B2E #51AE2E #2E91AE
split-complementary
#8B2EAE #91AE2E #2EAE4B
monochromatic
#3E144D #64217E #8B2EAE #AB4ACF #C17ADC

Accessibility & contrast

On white

6.77
#8B2EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8B2EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EAE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EAE#FFFFFF#000000##FFFFFF
##8B2EAE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2eae;
/* rgb */ color: rgb(139, 46, 174);
/* oklch */ color: oklch(49.7% 0.200 314.9);
Tailwind
colors: {
  custom: {
    50: '#b170c7',
    500: '#8b2eae',
    950: '#000000',
  },
}
SCSS
$custom: #8b2eae;
$custom-light: #b170c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2eae",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 283.594,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.19959,
    "h": 314.9
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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