#8B2E85#8B2E85

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

Color values

HEX#8B2E85
RGBrgb(139, 46, 133)
HSLhsl(304, 50%, 36%)
HSVhsv(304, 67%, 55%)
CMYKcmyk(0%, 66.9%, 4.3%, 45.5%)
CIE-LABlab(36.25, 50.05, -29.23)
CIE-LCHlch(36.25, 57.96, 329.72°)
OKLaboklab(47.17% 0.1421 -0.0804)
OKLCHoklch(47.17% 0.163 330.5)
XYZxyz(15.8580, 9.1376, 23.1142)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E85 #2E8B34
analogous
#632E8B #8B2E85 #8B2E57
triadic
#8B2E85 #858B2E #2E858B
tetradic
#8B2E85 #8B632E #2E8B34 #2E578B
square
#8B2E85 #8B632E #2E8B34 #2E578B
split-complementary
#8B2E85 #578B2E #2E8B63
monochromatic
#2F102D #5D1F59 #8B2E85 #B93DB1 #CD67C6

Accessibility & contrast

On white

7.43
#8B2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2E85
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E85#FFFFFF#000000##FFFFFF
##8B2E851.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#903855
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2e85;
/* rgb */ color: rgb(139, 46, 133);
/* oklch */ color: oklch(47.2% 0.163 330.5);
Tailwind
colors: {
  custom: {
    50: '#b06ea9',
    500: '#8b2e85',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e85;
$custom-light: #b06ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e85",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 303.871,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47168,
    "c": 0.16322,
    "h": 330.5
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#8B2E85
secondary
#61B367
accent
#DA574E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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