#8F4CB8#8F4CB8

#8F4CB8 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.171 H 310.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8F4CB8
RGBrgb(143, 76, 184)
HSLhsl(277, 43%, 51%)
HSVhsv(277, 59%, 72%)
CMYKcmyk(22.3%, 58.7%, 0%, 27.8%)
CIE-LABlab(44.90, 47.09, -46.09)
CIE-LCHlch(44.90, 65.89, 315.62°)
OKLaboklab(54.51% 0.111 -0.1295)
OKLCHoklch(54.51% 0.171 310.6)
XYZxyz(22.5622, 14.4697, 46.9425)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CB8 #75B84C
analogous
#594CB8 #8F4CB8 #B84CAB
triadic
#8F4CB8 #B88F4C #4CB88F
tetradic
#8F4CB8 #B8594C #75B84C #4CABB8
square
#8F4CB8 #B8594C #75B84C #4CABB8
split-complementary
#8F4CB8 #ABB84C #4CB859
monochromatic
#4C2763 #6E388E #8F4CB8 #AA78C9 #C6A4DB

Accessibility & contrast

On white

5.39
#8F4CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8F4CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CB8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CB8#FFFFFF#000000##FFFFFF
##8F4CB81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BB
Deuteranopia (green-blind)
#426BB5
Tritanopia (blue-blind)
#8A607B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4cb8;
/* rgb */ color: rgb(143, 76, 184);
/* oklch */ color: oklch(54.5% 0.171 310.6);
Tailwind
colors: {
  custom: {
    50: '#b381ce',
    500: '#8f4cb8',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cb8;
$custom-light: #b381ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cb8",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 277.222,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54506,
    "c": 0.17059,
    "h": 310.6
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#8F4CB8
secondary
#AAC898
accent
#D35585
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F4CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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