#8B2D88#8B2D88

#8B2D88 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.167 H 329.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8B2D88
RGBrgb(139, 45, 136)
HSLhsl(302, 51%, 36%)
HSVhsv(302, 68%, 55%)
CMYKcmyk(0%, 67.6%, 2.2%, 45.5%)
CIE-LABlab(36.26, 50.98, -31.06)
CIE-LCHlch(36.26, 59.70, 328.65°)
OKLaboklab(47.23% 0.1434 -0.0857)
OKLCHoklch(47.23% 0.167 329.2)
XYZxyz(16.0296, 9.1445, 24.2086)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D88 #2D8B30
analogous
#5F2D8B #8B2D88 #8B2D59
triadic
#8B2D88 #888B2D #2D888B
tetradic
#8B2D88 #8B5F2D #2D8B30 #2D598B
square
#8B2D88 #8B5F2D #2D8B30 #2D598B
split-complementary
#8B2D88 #598B2D #2D8B5F
monochromatic
#2F0F2E #5D1E5B #8B2D88 #B93CB5 #CD65CA

Accessibility & contrast

On white

7.42
#8B2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8B2D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D88
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D88#FFFFFF#000000##FFFFFF
##8B2D881.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#465A86
Tritanopia (blue-blind)
#903957
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2d88;
/* rgb */ color: rgb(139, 45, 136);
/* oklch */ color: oklch(47.2% 0.167 329.2);
Tailwind
colors: {
  custom: {
    50: '#b06eab',
    500: '#8b2d88',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d88;
$custom-light: #b06eab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d88",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 301.915,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4723,
    "c": 0.16708,
    "h": 329.2
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#8B2D88
secondary
#60B463
accent
#DB524D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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