#8B397F#8B397F

#8B397F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.2% C 0.142 H 333.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8B397F
RGBrgb(139, 57, 127)
HSLhsl(309, 42%, 38%)
HSVhsv(309, 59%, 55%)
CMYKcmyk(0%, 59%, 8.6%, 45.5%)
CIE-LABlab(37.75, 44.06, -23.16)
CIE-LCHlch(37.75, 49.78, 332.27°)
OKLaboklab(48.17% 0.127 -0.0631)
OKLCHoklch(48.17% 0.142 333.6)
XYZxyz(15.9414, 9.9487, 21.1552)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B397F #398B45
analogous
#6E398B #8B397F #8B3956
triadic
#8B397F #7F8B39 #397F8B
tetradic
#8B397F #8B6E39 #398B45 #39568B
square
#8B397F #8B6E39 #398B45 #39568B
split-complementary
#8B397F #568B39 #398B6E
monochromatic
#341530 #602757 #8B397F #B54CA6 #C777BC

Accessibility & contrast

On white

7.02
#8B397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B397F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B397F#FFFFFF#000000##FFFFFF
##8B397F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385181
Deuteranopia (green-blind)
#515D7D
Tritanopia (blue-blind)
#913F56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b397f;
/* rgb */ color: rgb(139, 57, 127);
/* oklch */ color: oklch(48.2% 0.142 333.6);
Tailwind
colors: {
  custom: {
    50: '#af74a4',
    500: '#8b397f',
    950: '#000000',
  },
}
SCSS
$custom: #8b397f;
$custom-light: #af74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b397f",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 308.78,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48167,
    "c": 0.14178,
    "h": 333.6
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#8B397F
secondary
#6FB079
accent
#D26856
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B397F

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

Preview Lab → · Contrast checker → · Palette generator →

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