#8B367E#8B367E

#8B367E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.146 H 334.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8B367E
RGBrgb(139, 54, 126)
HSLhsl(309, 44%, 38%)
HSVhsv(309, 61%, 55%)
CMYKcmyk(0%, 61.2%, 9.4%, 45.5%)
CIE-LABlab(37.18, 45.31, -23.43)
CIE-LCHlch(37.18, 51.01, 332.65°)
OKLaboklab(47.73% 0.131 -0.0638)
OKLCHoklch(47.73% 0.146 334)
XYZxyz(15.7326, 9.6348, 20.7657)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B367E #368B43
analogous
#6D368B #8B367E #8B3654
triadic
#8B367E #7E8B36 #367E8B
tetradic
#8B367E #8B6D36 #368B43 #36548B
square
#8B367E #8B6D36 #368B43 #36548B
split-complementary
#8B367E #548B36 #368B6D
monochromatic
#33142E #5F2556 #8B367E #B747A6 #C973BB

Accessibility & contrast

On white

7.18
#8B367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B367E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B367E#FFFFFF#000000##FFFFFF
##8B367E1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#913C55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b367e;
/* rgb */ color: rgb(139, 54, 126);
/* oklch */ color: oklch(47.7% 0.146 334.0);
Tailwind
colors: {
  custom: {
    50: '#af72a3',
    500: '#8b367e',
    950: '#000000',
  },
}
SCSS
$custom: #8b367e;
$custom-light: #af72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b367e",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 309.176,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.14569,
    "h": 334
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#8B367E
secondary
#6CB176
accent
#D46854
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B367E

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

Preview Lab → · Contrast checker → · Palette generator →

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