#8B289B#8B289B

#8B289B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 321.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8B289B
RGBrgb(139, 40, 155)
HSLhsl(292, 59%, 38%)
HSVhsv(292, 74%, 61%)
CMYKcmyk(10.3%, 74.2%, 0%, 39.2%)
CIE-LABlab(36.69, 56.35, -41.98)
CIE-LCHlch(36.69, 70.27, 323.31°)
OKLaboklab(47.9% 0.1487 -0.1174)
OKLCHoklch(47.9% 0.189 321.7)
XYZxyz(17.3220, 9.3741, 31.9010)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B289B #389B28
analogous
#51289B #8B289B #9B2871
triadic
#8B289B #9B8B28 #289B8B
tetradic
#8B289B #9B5128 #389B28 #28719B
square
#8B289B #9B5128 #389B28 #28719B
split-complementary
#8B289B #719B28 #289B51
monochromatic
#340F3A #5F1B6A #8B289B #B635CB #C866D7

Accessibility & contrast

On white

7.31
#8B289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8B289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B289B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B289B#FFFFFF#000000##FFFFFF
##8B289B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#8C3E5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b289b;
/* rgb */ color: rgb(139, 40, 155);
/* oklch */ color: oklch(47.9% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#b06cb9',
    500: '#8b289b',
    950: '#000000',
  },
}
SCSS
$custom: #8b289b;
$custom-light: #b06cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b289b",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 291.652,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.479,
    "c": 0.18944,
    "h": 321.7
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#8B289B
secondary
#6EBD61
accent
#E2465B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B289B

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

Preview Lab → · Contrast checker → · Palette generator →

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