#8B368E#8B368E

#8B368E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.6% C 0.160 H 326.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8B368E
RGBrgb(139, 54, 142)
HSLhsl(298, 45%, 38%)
HSVhsv(298, 62%, 56%)
CMYKcmyk(2.1%, 62%, 0%, 44.3%)
CIE-LABlab(37.99, 48.17, -32.01)
CIE-LCHlch(37.99, 57.84, 326.39°)
OKLaboklab(48.59% 0.1328 -0.0885)
OKLCHoklch(48.59% 0.16 326.3)
XYZxyz(16.8488, 10.0813, 26.6444)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B368E #398E36
analogous
#5F368E #8B368E #8E3665
triadic
#8B368E #8E8B36 #368E8B
tetradic
#8B368E #8E5F36 #398E36 #36658E
square
#8B368E #8E5F36 #398E36 #36658E
split-complementary
#8B368E #658E36 #368E5F
monochromatic
#341435 #602562 #8B368E #B548B9 #C774CA

Accessibility & contrast

On white

6.96
#8B368E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B368E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B368E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B368E#FFFFFF#000000##FFFFFF
##8B368E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5291
Deuteranopia (green-blind)
#485D8C
Tritanopia (blue-blind)
#8F425D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b368e;
/* rgb */ color: rgb(139, 54, 142);
/* oklch */ color: oklch(48.6% 0.160 326.3);
Tailwind
colors: {
  custom: {
    50: '#af73af',
    500: '#8b368e',
    950: '#000000',
  },
}
SCSS
$custom: #8b368e;
$custom-light: #af73af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b368e",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 297.955,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.15961,
    "h": 326.3
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#8B368E
secondary
#6FB36D
accent
#D55358
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B368E

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

Preview Lab → · Contrast checker → · Palette generator →

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