#8D1ABB#8D1ABB

#8D1ABB is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.5% C 0.229 H 312.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8D1ABB
RGBrgb(141, 26, 187)
HSLhsl(283, 76%, 42%)
HSVhsv(283, 86%, 73%)
CMYKcmyk(24.6%, 86.1%, 0%, 26.7%)
CIE-LABlab(37.82, 66.98, -59.27)
CIE-LCHlch(37.82, 89.44, 318.50°)
OKLaboklab(49.47% 0.1563 -0.168)
OKLCHoklch(49.47% 0.229 312.9)
XYZxyz(20.3219, 9.9900, 47.8618)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1ABB #48BB1A
analogous
#3C1ABB #8D1ABB #BB1A99
triadic
#8D1ABB #BB8D1A #1ABB8D
tetradic
#8D1ABB #BB3C1A #48BB1A #1A99BB
square
#8D1ABB #BB3C1A #48BB1A #1A99BB
split-complementary
#8D1ABB #99BB1A #1ABB3C
monochromatic
#3C0B50 #641385 #8D1ABB #AF30E2 #C466EA

Accessibility & contrast

On white

7.01
#8D1ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8D1ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D1ABB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1ABB#FFFFFF#000000##FFFFFF
##8D1ABB1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#88466F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d1abb;
/* rgb */ color: rgb(141, 26, 187);
/* oklch */ color: oklch(49.5% 0.229 312.9);
Tailwind
colors: {
  custom: {
    50: '#b469d0',
    500: '#8d1abb',
    950: '#000000',
  },
}
SCSS
$custom: #8d1abb;
$custom-light: #b469d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1abb",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 187
  },
  "hsl": {
    "h": 282.857,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.22946,
    "h": 312.9
  },
  "luminance": 0.09989
}

Semantic roles & 50–950 ramp

primary
#8D1ABB
secondary
#81CF62
accent
#F2366B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8D1ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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