#8B2E8E#8B2E8E

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

Color values

HEX#8B2E8E
RGBrgb(139, 46, 142)
HSLhsl(298, 51%, 37%)
HSVhsv(298, 68%, 56%)
CMYKcmyk(2.1%, 67.6%, 0%, 44.3%)
CIE-LABlab(36.74, 51.64, -33.99)
CIE-LCHlch(36.74, 61.83, 326.65°)
OKLaboklab(47.68% 0.1426 -0.0942)
OKLCHoklch(47.68% 0.171 326.6)
XYZxyz(16.5066, 9.3970, 26.5303)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E8E #318E2E
analogous
#5B2E8E #8B2E8E #8E2E61
triadic
#8B2E8E #8E8B2E #2E8E8B
tetradic
#8B2E8E #8E5B2E #318E2E #2E618E
square
#8B2E8E #8E5B2E #318E2E #2E618E
split-complementary
#8B2E8E #618E2E #2E8E5B
monochromatic
#311032 #5E1F60 #8B2E8E #B83DBC #CB68CE

Accessibility & contrast

On white

7.29
#8B2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2E8E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E8E#FFFFFF#000000##FFFFFF
##8B2E8E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#435B8B
Tritanopia (blue-blind)
#8F3C5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2e8e;
/* rgb */ color: rgb(139, 46, 142);
/* oklch */ color: oklch(47.7% 0.171 326.6);
Tailwind
colors: {
  custom: {
    50: '#b06faf',
    500: '#8b2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e8e;
$custom-light: #b06faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e8e",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 298.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.17085,
    "h": 326.6
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#8B2E8E
secondary
#65B563
accent
#DB4D52
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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