#8B2785#8B2785

#8B2785 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.172 H 330.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8B2785
RGBrgb(139, 39, 133)
HSLhsl(304, 56%, 35%)
HSVhsv(304, 72%, 55%)
CMYKcmyk(0%, 71.9%, 4.3%, 45.5%)
CIE-LABlab(35.27, 52.80, -30.77)
CIE-LCHlch(35.27, 61.11, 329.77°)
OKLaboklab(46.46% 0.15 -0.0848)
OKLCHoklch(46.46% 0.172 330.5)
XYZxyz(15.6066, 8.6347, 23.0304)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2785 #278B2D
analogous
#5F278B #8B2785 #8B2753
triadic
#8B2785 #858B27 #27858B
tetradic
#8B2785 #8B5F27 #278B2D #27538B
square
#8B2785 #8B5F27 #278B2D #27538B
split-complementary
#8B2785 #538B27 #278B5F
monochromatic
#2B0C2A #5B1A57 #8B2785 #BB34B3 #D15BCA

Accessibility & contrast

On white

7.70
#8B2785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8B2785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2785
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2785#FFFFFF#000000##FFFFFF
##8B27851.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#455882
Tritanopia (blue-blind)
#903353
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2785;
/* rgb */ color: rgb(139, 39, 133);
/* oklch */ color: oklch(46.5% 0.172 330.5);
Tailwind
colors: {
  custom: {
    50: '#b06ba9',
    500: '#8b2785',
    950: '#000000',
  },
}
SCSS
$custom: #8b2785;
$custom-light: #b06ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2785",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 303.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.17226,
    "h": 330.5
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#8B2785
secondary
#58B65D
accent
#DF5148
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2785

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

Preview Lab → · Contrast checker → · Palette generator →

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