#8B289E#8B289E

#8B289E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.192 H 320.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8B289E
RGBrgb(139, 40, 158)
HSLhsl(290, 60%, 39%)
HSVhsv(290, 75%, 62%)
CMYKcmyk(12%, 74.7%, 0%, 38%)
CIE-LABlab(36.89, 56.91, -43.49)
CIE-LCHlch(36.89, 71.63, 322.61°)
OKLaboklab(48.1% 0.1484 -0.1218)
OKLCHoklch(48.1% 0.192 320.6)
XYZxyz(17.5771, 9.4761, 33.2443)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B289E #3B9E28
analogous
#50289E #8B289E #9E2876
triadic
#8B289E #9E8B28 #289E8B
tetradic
#8B289E #9E5028 #3B9E28 #28769E
square
#8B289E #9E5028 #3B9E28 #28769E
split-complementary
#8B289E #769E28 #289E50
monochromatic
#350F3C #601C6D #8B289E #B437CC #C768D9

Accessibility & contrast

On white

7.25
#8B289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B289E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B289E#FFFFFF#000000##FFFFFF
##8B289E1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#8C3F61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b289e;
/* rgb */ color: rgb(139, 40, 158);
/* oklch */ color: oklch(48.1% 0.192 320.6);
Tailwind
colors: {
  custom: {
    50: '#b16dbb',
    500: '#8b289e',
    950: '#000000',
  },
}
SCSS
$custom: #8b289e;
$custom-light: #b16dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b289e",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 290.339,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.19203,
    "h": 320.6
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#8B289E
secondary
#72BF63
accent
#E3455E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B289E

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

Preview Lab → · Contrast checker → · Palette generator →

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