#8B2F8B#8B2F8B

#8B2F8B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.167 H 327.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8B2F8B
RGBrgb(139, 47, 139)
HSLhsl(300, 49%, 36%)
HSVhsv(300, 66%, 55%)
CMYKcmyk(0%, 66.2%, 0%, 45.5%)
CIE-LABlab(36.72, 50.69, -32.18)
CIE-LCHlch(36.72, 60.04, 327.59°)
OKLaboklab(47.61% 0.1413 -0.0889)
OKLCHoklch(47.61% 0.167 327.8)
XYZxyz(16.3240, 9.3872, 25.3732)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F8B #2F8B2F
analogous
#5D2F8B #8B2F8B #8B2F5D
triadic
#8B2F8B #8B8B2F #2F8B8B
tetradic
#8B2F8B #8B5D2F #2F8B2F #2F5D8B
square
#8B2F8B #8B5D2F #2F8B2F #2F5D8B
split-complementary
#8B2F8B #5D8B2F #2F8B5D
monochromatic
#301030 #5D205D #8B2F8B #B93EB9 #CC68CC

Accessibility & contrast

On white

7.30
#8B2F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8B2F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F8B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F8B#FFFFFF#000000##FFFFFF
##8B2F8B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#465B89
Tritanopia (blue-blind)
#8F3B59
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2f8b;
/* rgb */ color: rgb(139, 47, 139);
/* oklch */ color: oklch(47.6% 0.167 327.8);
Tailwind
colors: {
  custom: {
    50: '#b06fad',
    500: '#8b2f8b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f8b;
$custom-light: #b06fad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f8b",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47614,
    "c": 0.16692,
    "h": 327.8
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#8B2F8B
secondary
#63B363
accent
#D94F4F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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