#8F4AB2#8F4AB2

#8F4AB2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.167 H 312.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8F4AB2
RGBrgb(143, 74, 178)
HSLhsl(280, 41%, 49%)
HSVhsv(280, 58%, 70%)
CMYKcmyk(19.7%, 58.4%, 0%, 30.2%)
CIE-LABlab(44.16, 46.79, -43.74)
CIE-LCHlch(44.16, 64.05, 316.92°)
OKLaboklab(53.86% 0.1135 -0.1227)
OKLCHoklch(53.86% 0.167 312.8)
XYZxyz(21.8110, 13.9521, 43.6549)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AB2 #6DB24A
analogous
#5B4AB2 #8F4AB2 #B24AA1
triadic
#8F4AB2 #B28F4A #4AB28F
tetradic
#8F4AB2 #B25B4A #6DB24A #4AA1B2
square
#8F4AB2 #B25B4A #6DB24A #4AA1B2
split-complementary
#8F4AB2 #A1B24A #4AB25B
monochromatic
#4A265C #6C3887 #8F4AB2 #AA74C5 #C49FD7

Accessibility & contrast

On white

5.54
#8F4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F4AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AB2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AB2#FFFFFF#000000##FFFFFF
##8F4AB21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#8B5C77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f4ab2;
/* rgb */ color: rgb(143, 74, 178);
/* oklch */ color: oklch(53.9% 0.167 312.8);
Tailwind
colors: {
  custom: {
    50: '#b280c9',
    500: '#8f4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ab2;
$custom-light: #b280c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ab2",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 279.808,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.16709,
    "h": 312.8
  },
  "luminance": 0.13952
}

Semantic roles & 50–950 ramp

primary
#8F4AB2
secondary
#A4C494
accent
#D15780
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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