#8B378F#8B378F

#8B378F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.159 H 325.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8B378F
RGBrgb(139, 55, 143)
HSLhsl(297, 44%, 39%)
HSVhsv(297, 62%, 56%)
CMYKcmyk(2.8%, 61.5%, 0%, 43.9%)
CIE-LABlab(38.21, 47.90, -32.28)
CIE-LCHlch(38.21, 57.76, 326.02°)
OKLaboklab(48.77% 0.1316 -0.0893)
OKLCHoklch(48.77% 0.159 325.8)
XYZxyz(16.9712, 10.2055, 27.0572)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B378F #3B8F37
analogous
#5F378F #8B378F #8F3767
triadic
#8B378F #8F8B37 #378F8B
tetradic
#8B378F #8F5F37 #3B8F37 #37678F
square
#8B378F #8F5F37 #3B8F37 #37678F
split-complementary
#8B378F #678F37 #378F5F
monochromatic
#351537 #602663 #8B378F #B44AB9 #C776CA

Accessibility & contrast

On white

6.91
#8B378F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8B378F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B378F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B378F#FFFFFF#000000##FFFFFF
##8B378F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#485E8D
Tritanopia (blue-blind)
#8E435E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b378f;
/* rgb */ color: rgb(139, 55, 143);
/* oklch */ color: oklch(48.8% 0.159 325.8);
Tailwind
colors: {
  custom: {
    50: '#af73b0',
    500: '#8b378f',
    950: '#000000',
  },
}
SCSS
$custom: #8b378f;
$custom-light: #af73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b378f",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 297.273,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.15903,
    "h": 325.8
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#8B378F
secondary
#72B36F
accent
#D45459
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B378F

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

Preview Lab → · Contrast checker → · Palette generator →

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