#8F4ABB#8F4ABB

#8F4ABB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.177 H 309.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8F4ABB
RGBrgb(143, 74, 187)
HSLhsl(277, 45%, 51%)
HSVhsv(277, 60%, 73%)
CMYKcmyk(23.5%, 60.4%, 0%, 26.7%)
CIE-LABlab(44.70, 48.80, -48.17)
CIE-LCHlch(44.70, 68.57, 315.37°)
OKLaboklab(54.42% 0.1136 -0.1356)
OKLCHoklch(54.42% 0.177 309.9)
XYZxyz(22.7444, 14.3255, 48.5710)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4ABB #76BB4A
analogous
#564ABB #8F4ABB #BB4AAF
triadic
#8F4ABB #BB8F4A #4ABB8F
tetradic
#8F4ABB #BB564A #76BB4A #4AAFBB
square
#8F4ABB #BB564A #76BB4A #4AAFBB
split-complementary
#8F4ABB #AFBB4A #4ABB56
monochromatic
#4C2665 #6E3791 #8F4ABB #AB76CC #C6A3DC

Accessibility & contrast

On white

5.43
#8F4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8F4ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4ABB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4ABB#FFFFFF#000000##FFFFFF
##8F4ABB1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#895F7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4abb;
/* rgb */ color: rgb(143, 74, 187);
/* oklch */ color: oklch(54.4% 0.177 309.9);
Tailwind
colors: {
  custom: {
    50: '#b380d0',
    500: '#8f4abb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4abb;
$custom-light: #b380d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4abb",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 276.637,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.17688,
    "h": 309.9
  },
  "luminance": 0.14325
}

Semantic roles & 50–950 ramp

primary
#8F4ABB
secondary
#ABC997
accent
#D55385
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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