#8B288F#8B288F

#8B288F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.179 H 326.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8B288F
RGBrgb(139, 40, 143)
HSLhsl(298, 56%, 36%)
HSVhsv(298, 72%, 56%)
CMYKcmyk(2.8%, 72%, 0%, 43.9%)
CIE-LABlab(35.97, 54.16, -35.83)
CIE-LCHlch(35.97, 64.94, 326.52°)
OKLaboklab(47.15% 0.1491 -0.0995)
OKLCHoklch(47.15% 0.179 326.3)
XYZxyz(16.3639, 8.9908, 26.8548)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B288F #2C8F28
analogous
#57288F #8B288F #8F285F
triadic
#8B288F #8F8B28 #288F8B
tetradic
#8B288F #8F5728 #2C8F28 #285F8F
square
#8B288F #8F5728 #2C8F28 #285F8F
split-complementary
#8B288F #5F8F28 #288F57
monochromatic
#2E0D2F #5D1B5F #8B288F #B935BF #CE5FD2

Accessibility & contrast

On white

7.51
#8B288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8B288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B288F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B288F#FFFFFF#000000##FFFFFF
##8B288F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#3F598C
Tritanopia (blue-blind)
#8F3859
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b288f;
/* rgb */ color: rgb(139, 40, 143);
/* oklch */ color: oklch(47.1% 0.179 326.3);
Tailwind
colors: {
  custom: {
    50: '#b06cb0',
    500: '#8b288f',
    950: '#000000',
  },
}
SCSS
$custom: #8b288f;
$custom-light: #b06cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b288f",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 297.67,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.17924,
    "h": 326.3
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#8B288F
secondary
#5FB85B
accent
#E0484E
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B288F

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

Preview Lab → · Contrast checker → · Palette generator →

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