#8B2DAD#8B2DAD

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

Color values

HEX#8B2DAD
RGBrgb(139, 45, 173)
HSLhsl(284, 59%, 43%)
HSVhsv(284, 74%, 68%)
CMYKcmyk(19.7%, 74%, 0%, 32.2%)
CIE-LABlab(38.52, 58.00, -49.86)
CIE-LCHlch(38.52, 76.48, 319.31°)
OKLaboklab(49.58% 0.142 -0.1405)
OKLCHoklch(49.58% 0.2 315.3)
XYZxyz(19.1275, 10.3836, 40.5237)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DAD #4FAD2D
analogous
#4B2DAD #8B2DAD #AD2D8F
triadic
#8B2DAD #AD8B2D #2DAD8B
tetradic
#8B2DAD #AD4B2D #4FAD2D #2D8FAD
square
#8B2DAD #AD4B2D #4FAD2D #2D8FAD
split-complementary
#8B2DAD #8FAD2D #2DAD4B
monochromatic
#3D144C #64207C #8B2DAD #AB48CF #C278DC

Accessibility & contrast

On white

6.83
#8B2DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B2DAD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DAD#FFFFFF#000000##FFFFFF
##8B2DAD1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#295DAA
Tritanopia (blue-blind)
#88496B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2dad;
/* rgb */ color: rgb(139, 45, 173);
/* oklch */ color: oklch(49.6% 0.200 315.3);
Tailwind
colors: {
  custom: {
    50: '#b16fc6',
    500: '#8b2dad',
    950: '#000000',
  },
}
SCSS
$custom: #8b2dad;
$custom-light: #b16fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2dad",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 284.063,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.1998,
    "h": 315.3
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#8B2DAD
secondary
#88C472
accent
#E2466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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