#8F4ABE#8F4ABE

#8F4ABE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.180 H 309.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8F4ABE
RGBrgb(143, 74, 190)
HSLhsl(276, 47%, 52%)
HSVhsv(276, 61%, 75%)
CMYKcmyk(24.7%, 61.1%, 0%, 25.5%)
CIE-LABlab(44.88, 49.48, -49.62)
CIE-LCHlch(44.88, 70.08, 314.92°)
OKLaboklab(54.61% 0.1135 -0.1399)
OKLCHoklch(54.61% 0.18 309.1)
XYZxyz(23.0689, 14.4553, 50.2801)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4ABE #79BE4A
analogous
#554ABE #8F4ABE #BE4AB3
triadic
#8F4ABE #BE8F4A #4ABE8F
tetradic
#8F4ABE #BE554A #79BE4A #4AB3BE
square
#8F4ABE #BE554A #79BE4A #4AB3BE
split-complementary
#8F4ABE #B3BE4A #4ABE55
monochromatic
#4D2568 #6E3695 #8F4ABE #AB77CE #C7A4DE

Accessibility & contrast

On white

5.40
#8F4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4ABE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4ABE#FFFFFF#000000##FFFFFF
##8F4ABE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#88607D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4abe;
/* rgb */ color: rgb(143, 74, 190);
/* oklch */ color: oklch(54.6% 0.180 309.1);
Tailwind
colors: {
  custom: {
    50: '#b380d2',
    500: '#8f4abe',
    950: '#000000',
  },
}
SCSS
$custom: #8f4abe;
$custom-light: #b380d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4abe",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 275.69,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54607,
    "c": 0.18015,
    "h": 309.1
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#8F4ABE
secondary
#ADCB98
accent
#D75187
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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