#8D2FAB#8D2FAB

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

Color values

HEX#8D2FAB
RGBrgb(141, 47, 171)
HSLhsl(285, 57%, 43%)
HSVhsv(285, 73%, 67%)
CMYKcmyk(17.5%, 72.5%, 0%, 32.9%)
CIE-LABlab(38.96, 57.24, -47.94)
CIE-LCHlch(38.96, 74.66, 320.05°)
OKLaboklab(49.91% 0.1428 -0.1349)
OKLCHoklch(49.91% 0.196 316.6)
XYZxyz(19.3506, 10.6368, 39.5540)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FAB #4DAB2F
analogous
#4F2FAB #8D2FAB #AB2F8B
triadic
#8D2FAB #AB8D2F #2FAB8D
tetradic
#8D2FAB #AB4F2F #4DAB2F #2F8BAB
square
#8D2FAB #AB4F2F #4DAB2F #2F8BAB
split-complementary
#8D2FAB #8BAB2F #2FAB4F
monochromatic
#3E154B #65227B #8D2FAB #AD4ACD #C37ADA

Accessibility & contrast

On white

6.72
#8D2FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8D2FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FAB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FAB#FFFFFF#000000##FFFFFF
##8D2FAB1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#8B486A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2fab;
/* rgb */ color: rgb(141, 47, 171);
/* oklch */ color: oklch(49.9% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#b271c5',
    500: '#8d2fab',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fab;
$custom-light: #b271c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fab",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 285.484,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.19642,
    "h": 316.6
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#8D2FAB
secondary
#86C373
accent
#E0486D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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