#8B2DAC#8B2DAC

#8B2DAC is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.199 H 315.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8B2DAC
RGBrgb(139, 45, 172)
HSLhsl(284, 59%, 43%)
HSVhsv(284, 74%, 67%)
CMYKcmyk(19.2%, 73.8%, 0%, 32.5%)
CIE-LABlab(38.45, 57.79, -49.37)
CIE-LCHlch(38.45, 76.01, 319.49°)
OKLaboklab(49.51% 0.1422 -0.1391)
OKLCHoklch(49.51% 0.199 315.6)
XYZxyz(19.0311, 10.3450, 40.0160)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DAC #4EAC2D
analogous
#4B2DAC #8B2DAC #AC2D8E
triadic
#8B2DAC #AC8B2D #2DAC8B
tetradic
#8B2DAC #AC4B2D #4EAC2D #2D8EAC
square
#8B2DAC #AC4B2D #4EAC2D #2D8EAC
split-complementary
#8B2DAC #8EAC2D #2DAC4B
monochromatic
#3D144B #64207B #8B2DAC #AC47CF #C278DC

Accessibility & contrast

On white

6.84
#8B2DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8B2DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DAC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DAC#FFFFFF#000000##FFFFFF
##8B2DAC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2dac;
/* rgb */ color: rgb(139, 45, 172);
/* oklch */ color: oklch(49.5% 0.199 315.6);
Tailwind
colors: {
  custom: {
    50: '#b16fc5',
    500: '#8b2dac',
    950: '#000000',
  },
}
SCSS
$custom: #8b2dac;
$custom-light: #b16fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2dac",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 284.409,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49505,
    "c": 0.19889,
    "h": 315.6
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#8B2DAC
secondary
#87C471
accent
#E2466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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