#8B2A85#8B2A85

#8B2A85 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.169 H 330.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8B2A85
RGBrgb(139, 42, 133)
HSLhsl(304, 54%, 35%)
HSVhsv(304, 70%, 55%)
CMYKcmyk(0%, 69.8%, 4.3%, 45.5%)
CIE-LABlab(35.67, 51.66, -30.13)
CIE-LCHlch(35.67, 59.81, 329.75°)
OKLaboklab(46.75% 0.1467 -0.083)
OKLCHoklch(46.75% 0.169 330.5)
XYZxyz(15.7090, 8.8395, 23.0646)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A85 #2A8B30
analogous
#602A8B #8B2A85 #8B2A55
triadic
#8B2A85 #858B2A #2A858B
tetradic
#8B2A85 #8B602A #2A8B30 #2A558B
square
#8B2A85 #8B602A #2A8B30 #2A558B
split-complementary
#8B2A85 #558B2A #2A8B60
monochromatic
#2D0E2B #5C1C58 #8B2A85 #BA38B2 #CF60C8

Accessibility & contrast

On white

7.59
#8B2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A85
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A85#FFFFFF#000000##FFFFFF
##8B2A851.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B88
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#903554
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2a85;
/* rgb */ color: rgb(139, 42, 133);
/* oklch */ color: oklch(46.8% 0.169 330.5);
Tailwind
colors: {
  custom: {
    50: '#b06ca9',
    500: '#8b2a85',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a85;
$custom-light: #b06ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a85",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 303.711,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.16852,
    "h": 330.5
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#8B2A85
secondary
#5CB561
accent
#DD544B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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