#8B288A#8B288A

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

Color values

HEX#8B288A
RGBrgb(139, 40, 138)
HSLhsl(301, 55%, 35%)
HSVhsv(301, 71%, 55%)
CMYKcmyk(0%, 71.2%, 0.7%, 45.5%)
CIE-LABlab(35.68, 53.28, -33.21)
CIE-LCHlch(35.68, 62.78, 328.07°)
OKLaboklab(46.85% 0.1491 -0.0919)
OKLCHoklch(46.85% 0.175 328.4)
XYZxyz(15.9935, 8.8427, 24.9043)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B288A #288B29
analogous
#5A288B #8B288A #8B2859
triadic
#8B288A #8A8B28 #288A8B
tetradic
#8B288A #8B5A28 #288B29 #28598B
square
#8B288A #8B5A28 #288B29 #28598B
split-complementary
#8B288A #598B28 #288B5A
monochromatic
#2C0D2C #5B1A5B #8B288A #BB36B9 #D05DCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B288A#FFFFFF#000000##FFFFFF
##8B288A1.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)
#194C8D
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#903656
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b288a;
/* rgb */ color: rgb(139, 40, 138);
/* oklch */ color: oklch(46.8% 0.175 328.4);
Tailwind
colors: {
  custom: {
    50: '#b06cac',
    500: '#8b288a',
    950: '#000000',
  },
}
SCSS
$custom: #8b288a;
$custom-light: #b06cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b288a",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 300.606,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46847,
    "c": 0.1751,
    "h": 328.4
  },
  "luminance": 0.08842
}

Semantic roles & 50–950 ramp

primary
#8B288A
secondary
#59B65A
accent
#DF4B49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B288A

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

Preview Lab → · Contrast checker → · Palette generator →

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