#8D2EAB#8D2EAB

#8D2EAB is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.198 H 316.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8D2EAB
RGBrgb(141, 46, 171)
HSLhsl(286, 58%, 43%)
HSVhsv(286, 73%, 67%)
CMYKcmyk(17.5%, 73.1%, 0%, 32.9%)
CIE-LABlab(38.83, 57.62, -48.16)
CIE-LCHlch(38.83, 75.10, 320.11°)
OKLaboklab(49.81% 0.1438 -0.1355)
OKLCHoklch(49.81% 0.198 316.7)
XYZxyz(19.3111, 10.5578, 39.5408)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EAB #4CAB2E
analogous
#4E2EAB #8D2EAB #AB2E8B
triadic
#8D2EAB #AB8D2E #2EAB8D
tetradic
#8D2EAB #AB4E2E #4CAB2E #2E8BAB
square
#8D2EAB #AB4E2E #4CAB2E #2E8BAB
split-complementary
#8D2EAB #8BAB2E #2EAB4E
monochromatic
#3D144B #65217B #8D2EAB #AE48CE #C379DB

Accessibility & contrast

On white

6.75
#8D2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D2EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EAB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EAB#FFFFFF#000000##FFFFFF
##8D2EAB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#8B486A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2eab;
/* rgb */ color: rgb(141, 46, 171);
/* oklch */ color: oklch(49.8% 0.198 316.7);
Tailwind
colors: {
  custom: {
    50: '#b270c5',
    500: '#8d2eab',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eab;
$custom-light: #b270c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eab",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 285.6,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.19759,
    "h": 316.7
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#8D2EAB
secondary
#85C372
accent
#E1476C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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