#8F4BB4#8F4BB4

#8F4BB4 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.168 H 312.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8F4BB4
RGBrgb(143, 75, 180)
HSLhsl(279, 41%, 50%)
HSVhsv(279, 58%, 71%)
CMYKcmyk(20.6%, 58.3%, 0%, 29.4%)
CIE-LABlab(44.47, 46.71, -44.43)
CIE-LCHlch(44.47, 64.47, 316.44°)
OKLaboklab(54.12% 0.1122 -0.1247)
OKLCHoklch(54.12% 0.168 312)
XYZxyz(22.0805, 14.1676, 44.7426)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BB4 #70B44B
analogous
#5B4BB4 #8F4BB4 #B44BA4
triadic
#8F4BB4 #B48F4B #4BB48F
tetradic
#8F4BB4 #B45B4B #70B44B #4BA4B4
square
#8F4BB4 #B45B4B #70B44B #4BA4B4
split-complementary
#8F4BB4 #A4B44B #4BB45B
monochromatic
#4A275E #6D3989 #8F4BB4 #AA76C6 #C5A1D8

Accessibility & contrast

On white

5.48
#8F4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8F4BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BB4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BB4#FFFFFF#000000##FFFFFF
##8F4BB41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B7
Deuteranopia (green-blind)
#446BB1
Tritanopia (blue-blind)
#8B5E78
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4bb4;
/* rgb */ color: rgb(143, 75, 180);
/* oklch */ color: oklch(54.1% 0.168 312.0);
Tailwind
colors: {
  custom: {
    50: '#b380cb',
    500: '#8f4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bb4;
$custom-light: #b380cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bb4",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 278.857,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.54119,
    "c": 0.16773,
    "h": 312
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#8F4BB4
secondary
#A6C596
accent
#D15782
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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