#8D2BAB#8D2BAB

#8D2BAB is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.201 H 316.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D2BAB
RGBrgb(141, 43, 171)
HSLhsl(286, 60%, 42%)
HSVhsv(286, 75%, 67%)
CMYKcmyk(17.5%, 74.9%, 0%, 32.9%)
CIE-LABlab(38.43, 58.75, -48.80)
CIE-LCHlch(38.43, 76.37, 320.29°)
OKLaboklab(49.53% 0.1467 -0.1373)
OKLCHoklch(49.53% 0.201 316.9)
XYZxyz(19.1980, 10.3316, 39.5031)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BAB #49AB2B
analogous
#4D2BAB #8D2BAB #AB2B89
triadic
#8D2BAB #AB8D2B #2BAB8D
tetradic
#8D2BAB #AB4D2B #49AB2B #2B89AB
square
#8D2BAB #AB4D2B #49AB2B #2B89AB
split-complementary
#8D2BAB #89AB2B #2BAB4D
monochromatic
#3C1249 #651F7A #8D2BAB #AF43D0 #C474DC

Accessibility & contrast

On white

6.85
#8D2BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2BAB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BAB#FFFFFF#000000##FFFFFF
##8D2BAB1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#2D5DA8
Tritanopia (blue-blind)
#8B4669
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2bab;
/* rgb */ color: rgb(141, 43, 171);
/* oklch */ color: oklch(49.5% 0.201 316.9);
Tailwind
colors: {
  custom: {
    50: '#b26fc5',
    500: '#8d2bab',
    950: '#000000',
  },
}
SCSS
$custom: #8d2bab;
$custom-light: #b26fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2bab",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 285.938,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.20096,
    "h": 316.9
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#8D2BAB
secondary
#82C46E
accent
#E3456A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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