#8D2BB2#8D2BB2

#8D2BB2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.207 H 314.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8D2BB2
RGBrgb(141, 43, 178)
HSLhsl(284, 61%, 43%)
HSVhsv(284, 76%, 70%)
CMYKcmyk(20.8%, 75.8%, 0%, 30.2%)
CIE-LABlab(38.91, 60.14, -52.19)
CIE-LCHlch(38.91, 79.63, 319.05°)
OKLaboklab(50.02% 0.1457 -0.1473)
OKLCHoklch(50.02% 0.207 314.7)
XYZxyz(19.8829, 10.6055, 43.1106)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BB2 #50B22B
analogous
#4A2BB2 #8D2BB2 #B22B93
triadic
#8D2BB2 #B28D2B #2BB28D
tetradic
#8D2BB2 #B24A2B #50B22B #2B93B2
square
#8D2BB2 #B24A2B #50B22B #2B93B2
split-complementary
#8D2BB2 #93B22B #2BB24A
monochromatic
#3F134F #661F81 #8D2BB2 #AD48D3 #C379DF

Accessibility & contrast

On white

6.73
#8D2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8D2BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2BB2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BB2#FFFFFF#000000##FFFFFF
##8D2BB21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2bb2;
/* rgb */ color: rgb(141, 43, 178);
/* oklch */ color: oklch(50.0% 0.207 314.7);
Tailwind
colors: {
  custom: {
    50: '#b36fca',
    500: '#8d2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2bb2;
$custom-light: #b36fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2bb2",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 283.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.20721,
    "h": 314.7
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#8D2BB2
secondary
#89C772
accent
#E44470
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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