#8B288D#8B288D

#8B288D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.178 H 327.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8B288D
RGBrgb(139, 40, 141)
HSLhsl(299, 56%, 35%)
HSVhsv(299, 72%, 55%)
CMYKcmyk(1.4%, 71.6%, 0%, 44.7%)
CIE-LABlab(35.85, 53.81, -34.78)
CIE-LCHlch(35.85, 64.07, 327.12°)
OKLaboklab(47.03% 0.1491 -0.0964)
OKLCHoklch(47.03% 0.178 327.1)
XYZxyz(16.2137, 8.9308, 26.0640)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B288D #2A8D28
analogous
#58288D #8B288D #8D285C
triadic
#8B288D #8D8B28 #288D8B
tetradic
#8B288D #8D5828 #2A8D28 #285C8D
square
#8B288D #8D5828 #2A8D28 #285C8D
split-complementary
#8B288D #5C8D28 #288D58
monochromatic
#2D0D2E #5C1A5D #8B288D #BA36BD #CF5ED1

Accessibility & contrast

On white

7.54
#8B288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8B288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B288D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B288D#FFFFFF#000000##FFFFFF
##8B288D1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#8F3758
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b288d;
/* rgb */ color: rgb(139, 40, 141);
/* oklch */ color: oklch(47.0% 0.178 327.1);
Tailwind
colors: {
  custom: {
    50: '#b06caf',
    500: '#8b288d',
    950: '#000000',
  },
}
SCSS
$custom: #8b288d;
$custom-light: #b06caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b288d",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 298.812,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.17757,
    "h": 327.1
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#8B288D
secondary
#5CB75A
accent
#DF494C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B288D

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

Preview Lab → · Contrast checker → · Palette generator →

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