#8B2DA9#8B2DA9

#8B2DA9 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.196 H 316.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8B2DA9
RGBrgb(139, 45, 169)
HSLhsl(285, 58%, 42%)
HSVhsv(285, 73%, 66%)
CMYKcmyk(17.8%, 73.4%, 0%, 33.7%)
CIE-LABlab(38.25, 57.19, -47.90)
CIE-LCHlch(38.25, 74.60, 320.05°)
OKLaboklab(49.3% 0.1425 -0.1348)
OKLCHoklch(49.3% 0.196 316.6)
XYZxyz(18.7462, 10.2311, 38.5158)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DA9 #4BA92D
analogous
#4D2DA9 #8B2DA9 #A92D89
triadic
#8B2DA9 #A98B2D #2DA98B
tetradic
#8B2DA9 #A94D2D #4BA92D #2D89A9
square
#8B2DA9 #A94D2D #4BA92D #2D89A9
split-complementary
#8B2DA9 #89A92D #2DA94D
monochromatic
#3B1348 #632079 #8B2DA9 #AD46CE #C276DA

Accessibility & contrast

On white

6.89
#8B2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DA9
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DA9#FFFFFF#000000##FFFFFF
##8B2DA91.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#2E5DA6
Tritanopia (blue-blind)
#894769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2da9;
/* rgb */ color: rgb(139, 45, 169);
/* oklch */ color: oklch(49.3% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#b16fc3',
    500: '#8b2da9',
    950: '#000000',
  },
}
SCSS
$custom: #8b2da9;
$custom-light: #b16fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2da9",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 285.484,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49299,
    "c": 0.19615,
    "h": 316.6
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#8B2DA9
secondary
#84C26F
accent
#E1476C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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