#8D2BB7#8D2BB7

#8D2BB7 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.212 H 313.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8D2BB7
RGBrgb(141, 43, 183)
HSLhsl(282, 62%, 44%)
HSVhsv(282, 77%, 72%)
CMYKcmyk(23%, 76.5%, 0%, 28.2%)
CIE-LABlab(39.26, 61.15, -54.58)
CIE-LCHlch(39.26, 81.97, 318.25°)
OKLaboklab(50.38% 0.1449 -0.1543)
OKLCHoklch(50.38% 0.212 313.2)
XYZxyz(20.3941, 10.8100, 45.8028)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BB7 #55B72B
analogous
#472BB7 #8D2BB7 #B72B9B
triadic
#8D2BB7 #B78D2B #2BB78D
tetradic
#8D2BB7 #B7472B #55B72B #2B9BB7
square
#8D2BB7 #B7472B #55B72B #2B9BB7
split-complementary
#8D2BB7 #9BB72B #2BB747
monochromatic
#411454 #671F85 #8D2BB7 #AB4BD5 #C27CE0

Accessibility & contrast

On white

6.64
#8D2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D2BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2BB7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BB7#FFFFFF#000000##FFFFFF
##8D2BB71.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#1B5FB4
Tritanopia (blue-blind)
#884C70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2bb7;
/* rgb */ color: rgb(141, 43, 183);
/* oklch */ color: oklch(50.4% 0.212 313.2);
Tailwind
colors: {
  custom: {
    50: '#b36fcd',
    500: '#8d2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2bb7;
$custom-light: #b36fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2bb7",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 282,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.21171,
    "h": 313.2
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#8D2BB7
secondary
#8EC975
accent
#E54373
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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