#8B2DA1#8B2DA1

#8B2DA1 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.189 H 319.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8B2DA1
RGBrgb(139, 45, 161)
HSLhsl(289, 56%, 40%)
HSVhsv(289, 72%, 63%)
CMYKcmyk(13.7%, 72%, 0%, 36.9%)
CIE-LABlab(37.73, 55.61, -43.94)
CIE-LCHlch(37.73, 70.88, 321.69°)
OKLaboklab(48.76% 0.1432 -0.1232)
OKLCHoklch(48.76% 0.189 319.3)
XYZxyz(18.0180, 9.9398, 34.6808)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DA1 #43A12D
analogous
#512DA1 #8B2DA1 #A12D7D
triadic
#8B2DA1 #A18B2D #2DA18B
tetradic
#8B2DA1 #A1512D #43A12D #2D7DA1
square
#8B2DA1 #A1512D #43A12D #2D7DA1
split-complementary
#8B2DA1 #7DA12D #2DA151
monochromatic
#381241 #622071 #8B2DA1 #B041CA #C471D7

Accessibility & contrast

On white

7.03
#8B2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B2DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2DA1
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DA1#FFFFFF#000000##FFFFFF
##8B2DA11.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#355C9E
Tritanopia (blue-blind)
#8B4364
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2da1;
/* rgb */ color: rgb(139, 45, 161);
/* oklch */ color: oklch(48.8% 0.189 319.3);
Tailwind
colors: {
  custom: {
    50: '#b06fbd',
    500: '#8b2da1',
    950: '#000000',
  },
}
SCSS
$custom: #8b2da1;
$custom-light: #b06fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2da1",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 288.621,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.18891,
    "h": 319.3
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#8B2DA1
secondary
#7BBF6B
accent
#E04865
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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