#8F4AC6#8F4AC6

#8F4AC6 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.189 H 306.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8F4AC6
RGBrgb(143, 74, 198)
HSLhsl(273, 52%, 53%)
HSVhsv(273, 63%, 78%)
CMYKcmyk(27.8%, 62.6%, 0%, 22.4%)
CIE-LABlab(45.38, 51.32, -53.47)
CIE-LCHlch(45.38, 74.11, 313.83°)
OKLaboklab(55.13% 0.1133 -0.1511)
OKLCHoklch(55.13% 0.189 306.8)
XYZxyz(23.9674, 14.8147, 55.0120)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AC6 #81C64A
analogous
#514AC6 #8F4AC6 #C64ABF
triadic
#8F4AC6 #C68F4A #4AC68F
tetradic
#8F4AC6 #C6514A #81C64A #4ABFC6
square
#8F4AC6 #C6514A #81C64A #4ABFC6
split-complementary
#8F4AC6 #BFC64A #4AC651
monochromatic
#4F2472 #7032A0 #8F4AC6 #AC79D5 #C9A7E3

Accessibility & contrast

On white

5.30
#8F4AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8F4AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AC6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AC6#FFFFFF#000000##FFFFFF
##8F4AC61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#316CC3
Tritanopia (blue-blind)
#866381
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4ac6;
/* rgb */ color: rgb(143, 74, 198);
/* oklch */ color: oklch(55.1% 0.189 306.8);
Tailwind
colors: {
  custom: {
    50: '#b480d8',
    500: '#8f4ac6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ac6;
$custom-light: #b480d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ac6",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 273.387,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.18889,
    "h": 306.8
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#8F4AC6
secondary
#B3D19B
accent
#DC4C8C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F4AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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