#8B2E8F#8B2E8F

#8B2E8F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.172 H 326.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8B2E8F
RGBrgb(139, 46, 143)
HSLhsl(298, 51%, 37%)
HSVhsv(298, 68%, 56%)
CMYKcmyk(2.8%, 67.8%, 0%, 43.9%)
CIE-LABlab(36.79, 51.82, -34.51)
CIE-LCHlch(36.79, 62.27, 326.34°)
OKLaboklab(47.74% 0.1426 -0.0957)
OKLCHoklch(47.74% 0.172 326.1)
XYZxyz(16.5821, 9.4272, 26.9275)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E8F #328F2E
analogous
#5B2E8F #8B2E8F #8F2E63
triadic
#8B2E8F #8F8B2E #2E8F8B
tetradic
#8B2E8F #8F5B2E #328F2E #2E638F
square
#8B2E8F #8F5B2E #328F2E #2E638F
split-complementary
#8B2E8F #638F2E #2E8F5B
monochromatic
#311032 #5E1F61 #8B2E8F #B83DBD #CA69CF

Accessibility & contrast

On white

7.28
#8B2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2E8F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E8F#FFFFFF#000000##FFFFFF
##8B2E8F1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#435B8C
Tritanopia (blue-blind)
#8F3C5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2e8f;
/* rgb */ color: rgb(139, 46, 143);
/* oklch */ color: oklch(47.7% 0.172 326.1);
Tailwind
colors: {
  custom: {
    50: '#b06fb0',
    500: '#8b2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e8f;
$custom-light: #b06fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e8f",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 297.526,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.17171,
    "h": 326.1
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#8B2E8F
secondary
#67B663
accent
#DB4D53
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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