#8D2AB2#8D2AB2

#8D2AB2 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.208 H 314.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8D2AB2
RGBrgb(141, 42, 178)
HSLhsl(284, 62%, 43%)
HSVhsv(284, 76%, 70%)
CMYKcmyk(20.8%, 76.4%, 0%, 30.2%)
CIE-LABlab(38.78, 60.50, -52.39)
CIE-LCHlch(38.78, 80.03, 319.11°)
OKLaboklab(49.93% 0.1466 -0.1479)
OKLCHoklch(49.93% 0.208 314.8)
XYZxyz(19.8470, 10.5337, 43.0986)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AB2 #4FB22A
analogous
#492AB2 #8D2AB2 #B22A93
triadic
#8D2AB2 #B28D2A #2AB28D
tetradic
#8D2AB2 #B2492A #4FB22A #2A93B2
square
#8D2AB2 #B2492A #4FB22A #2A93B2
split-complementary
#8D2AB2 #93B22A #2AB249
monochromatic
#3F134F #661E80 #8D2AB2 #AD46D3 #C377DF

Accessibility & contrast

On white

6.76
#8D2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2AB2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AB2#FFFFFF#000000##FFFFFF
##8D2AB21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#225EAF
Tritanopia (blue-blind)
#8A496D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2ab2;
/* rgb */ color: rgb(141, 42, 178);
/* oklch */ color: oklch(49.9% 0.208 314.8);
Tailwind
colors: {
  custom: {
    50: '#b36fca',
    500: '#8d2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ab2;
$custom-light: #b36fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ab2",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 283.676,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.20825,
    "h": 314.8
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#8D2AB2
secondary
#88C771
accent
#E5436F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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