#8F4ABA#8F4ABA

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

Color values

HEX#8F4ABA
RGBrgb(143, 74, 186)
HSLhsl(277, 45%, 51%)
HSVhsv(277, 60%, 73%)
CMYKcmyk(23.1%, 60.2%, 0%, 27.1%)
CIE-LABlab(44.64, 48.57, -47.68)
CIE-LCHlch(44.64, 68.06, 315.53°)
OKLaboklab(54.35% 0.1136 -0.1342)
OKLCHoklch(54.35% 0.176 310.2)
XYZxyz(22.6377, 14.2828, 48.0092)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4ABA #75BA4A
analogous
#574ABA #8F4ABA #BA4AAD
triadic
#8F4ABA #BA8F4A #4ABA8F
tetradic
#8F4ABA #BA574A #75BA4A #4AADBA
square
#8F4ABA #BA574A #75BA4A #4AADBA
split-complementary
#8F4ABA #ADBA4A #4ABA57
monochromatic
#4C2664 #6E3790 #8F4ABA #AA76CB #C6A3DC

Accessibility & contrast

On white

5.45
#8F4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4ABA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4ABA#FFFFFF#000000##FFFFFF
##8F4ABA1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f4aba;
/* rgb */ color: rgb(143, 74, 186);
/* oklch */ color: oklch(54.4% 0.176 310.2);
Tailwind
colors: {
  custom: {
    50: '#b380cf',
    500: '#8f4aba',
    950: '#000000',
  },
}
SCSS
$custom: #8f4aba;
$custom-light: #b380cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4aba",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 276.964,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.1758,
    "h": 310.2
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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