#8F4E9B#8F4E9B

#8F4E9B is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.1% C 0.136 H 321.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8F4E9B
RGBrgb(143, 78, 155)
HSLhsl(291, 33%, 46%)
HSVhsv(291, 50%, 61%)
CMYKcmyk(7.7%, 49.7%, 0%, 39.2%)
CIE-LABlab(43.74, 39.76, -30.79)
CIE-LCHlch(43.74, 50.28, 322.24°)
OKLaboklab(53.14% 0.1058 -0.0851)
OKLCHoklch(53.14% 0.136 321.2)
XYZxyz(19.9678, 13.6558, 32.5880)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E9B #5A9B4E
analogous
#684E9B #8F4E9B #9B4E80
triadic
#8F4E9B #9B8F4E #4E9B8F
tetradic
#8F4E9B #9B684E #5A9B4E #4E809B
square
#8F4E9B #9B684E #5A9B4E #4E809B
split-complementary
#8F4E9B #809B4E #4E9B68
monochromatic
#44254A #693A72 #8F4E9B #AC6FB7 #C398CB

Accessibility & contrast

On white

5.63
#8F4E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8F4E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E9B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E9B#FFFFFF#000000##FFFFFF
##8F4E9B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639E
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#90586D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f4e9b;
/* rgb */ color: rgb(143, 78, 155);
/* oklch */ color: oklch(53.1% 0.136 321.2);
Tailwind
colors: {
  custom: {
    50: '#b182b9',
    500: '#8f4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e9b;
$custom-light: #b182b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e9b",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 290.649,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.13577,
    "h": 321.2
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#8F4E9B
secondary
#94B88D
accent
#C95F6F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8F4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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