#8D2DAB#8D2DAB

#8D2DAB is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.199 H 316.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8D2DAB
RGBrgb(141, 45, 171)
HSLhsl(286, 58%, 42%)
HSVhsv(286, 74%, 67%)
CMYKcmyk(17.5%, 73.7%, 0%, 32.9%)
CIE-LABlab(38.69, 58.01, -48.38)
CIE-LCHlch(38.69, 75.53, 320.17°)
OKLaboklab(49.71% 0.1448 -0.1361)
OKLCHoklch(49.71% 0.199 316.8)
XYZxyz(19.2725, 10.4806, 39.5279)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DAB #4BAB2D
analogous
#4E2DAB #8D2DAB #AB2D8A
triadic
#8D2DAB #AB8D2D #2DAB8D
tetradic
#8D2DAB #AB4E2D #4BAB2D #2D8AAB
square
#8D2DAB #AB4E2D #4BAB2D #2D8AAB
split-complementary
#8D2DAB #8AAB2D #2DAB4E
monochromatic
#3D144A #65207B #8D2DAB #AE47CE #C377DB

Accessibility & contrast

On white

6.78
#8D2DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D2DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DAB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DAB#FFFFFF#000000##FFFFFF
##8D2DAB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#2E5EA8
Tritanopia (blue-blind)
#8B476A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2dab;
/* rgb */ color: rgb(141, 45, 171);
/* oklch */ color: oklch(49.7% 0.199 316.8);
Tailwind
colors: {
  custom: {
    50: '#b270c5',
    500: '#8d2dab',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dab;
$custom-light: #b270c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dab",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 285.714,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.19873,
    "h": 316.8
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#8D2DAB
secondary
#84C371
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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