#8B2D8B#8B2D8B

#8B2D8B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.170 H 327.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8B2D8B
RGBrgb(139, 45, 139)
HSLhsl(300, 51%, 36%)
HSVhsv(300, 68%, 55%)
CMYKcmyk(0%, 67.6%, 0%, 45.5%)
CIE-LABlab(36.43, 51.51, -32.64)
CIE-LCHlch(36.43, 60.99, 327.64°)
OKLaboklab(47.4% 0.1436 -0.0903)
OKLCHoklch(47.4% 0.17 327.8)
XYZxyz(16.2458, 9.2309, 25.3472)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D8B #2D8B2D
analogous
#5C2D8B #8B2D8B #8B2D5C
triadic
#8B2D8B #8B8B2D #2D8B8B
tetradic
#8B2D8B #8B5C2D #2D8B2D #2D5C8B
square
#8B2D8B #8B5C2D #2D8B2D #2D5C8B
split-complementary
#8B2D8B #5C8B2D #2D8B5C
monochromatic
#2F0F2F #5D1E5D #8B2D8B #B93CB9 #CD65CD

Accessibility & contrast

On white

7.38
#8B2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D8B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D8B#FFFFFF#000000##FFFFFF
##8B2D8B1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#8F3A58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2d8b;
/* rgb */ color: rgb(139, 45, 139);
/* oklch */ color: oklch(47.4% 0.170 327.8);
Tailwind
colors: {
  custom: {
    50: '#b06ead',
    500: '#8b2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d8b;
$custom-light: #b06ead;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d8b",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47402,
    "c": 0.1696,
    "h": 327.8
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#8B2D8B
secondary
#60B460
accent
#DB4D4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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