#8F4397#8F4397

#8F4397 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.3% C 0.150 H 323.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8F4397
RGBrgb(143, 67, 151)
HSLhsl(294, 39%, 43%)
HSVhsv(294, 56%, 59%)
CMYKcmyk(5.3%, 55.6%, 0%, 40.8%)
CIE-LABlab(41.36, 44.71, -32.12)
CIE-LCHlch(41.36, 55.06, 324.30°)
OKLaboklab(51.32% 0.1211 -0.0888)
OKLCHoklch(51.32% 0.15 323.7)
XYZxyz(18.9202, 12.0893, 30.6090)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4397 #4B9743
analogous
#654397 #8F4397 #974375
triadic
#8F4397 #978F43 #43978F
tetradic
#8F4397 #976543 #4B9743 #437597
square
#8F4397 #976543 #4B9743 #437597
split-complementary
#8F4397 #759743 #439765
monochromatic
#3F1D42 #67306D #8F4397 #B05FB8 #C58ACB

Accessibility & contrast

On white

6.14
#8F4397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F4397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4397
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4397#FFFFFF#000000##FFFFFF
##8F43971.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9A
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#914E66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f4397;
/* rgb */ color: rgb(143, 67, 151);
/* oklch */ color: oklch(51.3% 0.150 323.7);
Tailwind
colors: {
  custom: {
    50: '#b27bb6',
    500: '#8f4397',
    950: '#000000',
  },
}
SCSS
$custom: #8f4397;
$custom-light: #b27bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4397",
  "rgb": {
    "r": 143,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 294.286,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.15015,
    "h": 323.7
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#8F4397
secondary
#85B680
accent
#CE5964
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4397

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

Preview Lab → · Contrast checker → · Palette generator →

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