#8D2BA2#8D2BA2

#8D2BA2 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.193 H 319.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8D2BA2
RGBrgb(141, 43, 162)
HSLhsl(289, 58%, 40%)
HSVhsv(289, 73%, 64%)
CMYKcmyk(13%, 73.5%, 0%, 36.5%)
CIE-LABlab(37.84, 57.00, -44.35)
CIE-LCHlch(37.84, 72.22, 322.11°)
OKLaboklab(48.92% 0.1476 -0.1243)
OKLCHoklch(48.92% 0.193 319.9)
XYZxyz(18.3692, 10.0000, 35.1380)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BA2 #40A22B
analogous
#522BA2 #8D2BA2 #A22B7B
triadic
#8D2BA2 #A28D2B #2BA28D
tetradic
#8D2BA2 #A2522B #40A22B #2B7BA2
square
#8D2BA2 #A2522B #40A22B #2B7BA2
split-complementary
#8D2BA2 #7BA22B #2BA252
monochromatic
#391141 #631E72 #8D2BA2 #B33ECC #C66FD9

Accessibility & contrast

On white

7.00
#8D2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2BA2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BA2#FFFFFF#000000##FFFFFF
##8D2BA21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#365C9F
Tritanopia (blue-blind)
#8D4264
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2ba2;
/* rgb */ color: rgb(141, 43, 162);
/* oklch */ color: oklch(48.9% 0.193 319.9);
Tailwind
colors: {
  custom: {
    50: '#b26ebe',
    500: '#8d2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ba2;
$custom-light: #b26ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ba2",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 289.412,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.19298,
    "h": 319.9
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#8D2BA2
secondary
#78C069
accent
#E14762
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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