#8D2BAD#8D2BAD

#8D2BAD is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 316.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8D2BAD
RGBrgb(141, 43, 173)
HSLhsl(285, 60%, 42%)
HSVhsv(285, 75%, 68%)
CMYKcmyk(18.5%, 75.1%, 0%, 32.2%)
CIE-LABlab(38.57, 59.14, -49.77)
CIE-LCHlch(38.57, 77.30, 319.92°)
OKLaboklab(49.67% 0.1464 -0.1402)
OKLCHoklch(49.67% 0.203 316.2)
XYZxyz(19.3900, 10.4084, 40.5147)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BAD #4BAD2B
analogous
#4C2BAD #8D2BAD #AD2B8C
triadic
#8D2BAD #AD8D2B #2BAD8D
tetradic
#8D2BAD #AD4C2B #4BAD2B #2B8CAD
square
#8D2BAD #AD4C2B #4BAD2B #2B8CAD
split-complementary
#8D2BAD #8CAD2B #2BAD4C
monochromatic
#3D134B #651F7C #8D2BAD #AE45D1 #C376DD

Accessibility & contrast

On white

6.81
#8D2BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D2BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2BAD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BAD#FFFFFF#000000##FFFFFF
##8D2BAD1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2bad;
/* rgb */ color: rgb(141, 43, 173);
/* oklch */ color: oklch(49.7% 0.203 316.2);
Tailwind
colors: {
  custom: {
    50: '#b26fc6',
    500: '#8d2bad',
    950: '#000000',
  },
}
SCSS
$custom: #8d2bad;
$custom-light: #b26fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2bad",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 285.231,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.20273,
    "h": 316.2
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#8D2BAD
secondary
#84C46F
accent
#E3446C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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