#8B2EAC#8B2EAC

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

Color values

HEX#8B2EAC
RGBrgb(139, 46, 172)
HSLhsl(284, 58%, 43%)
HSVhsv(284, 73%, 67%)
CMYKcmyk(19.2%, 73.3%, 0%, 32.5%)
CIE-LABlab(38.59, 57.41, -49.15)
CIE-LCHlch(38.59, 75.58, 319.43°)
OKLaboklab(49.6% 0.1412 -0.1385)
OKLCHoklch(49.6% 0.198 315.6)
XYZxyz(19.0697, 10.4222, 40.0289)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EAC #4FAC2E
analogous
#4C2EAC #8B2EAC #AC2E8E
triadic
#8B2EAC #AC8B2E #2EAC8B
tetradic
#8B2EAC #AC4C2E #4FAC2E #2E8EAC
square
#8B2EAC #AC4C2E #4FAC2E #2E8EAC
split-complementary
#8B2EAC #8EAC2E #2EAC4C
monochromatic
#3D144B #64217C #8B2EAC #AB49CE #C279DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2EAC#FFFFFF#000000##FFFFFF
##8B2EAC1.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)
#0056B0
Deuteranopia (green-blind)
#2B5DA9
Tritanopia (blue-blind)
#89496A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2eac;
/* rgb */ color: rgb(139, 46, 172);
/* oklch */ color: oklch(49.6% 0.198 315.6);
Tailwind
colors: {
  custom: {
    50: '#b170c5',
    500: '#8b2eac',
    950: '#000000',
  },
}
SCSS
$custom: #8b2eac;
$custom-light: #b170c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2eac",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 284.286,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.19775,
    "h": 315.6
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#8B2EAC
secondary
#88C372
accent
#E1476F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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