#8F4ABC#8F4ABC

#8F4ABC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.178 H 309.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8F4ABC
RGBrgb(143, 74, 188)
HSLhsl(276, 46%, 51%)
HSVhsv(276, 61%, 74%)
CMYKcmyk(23.9%, 60.6%, 0%, 26.3%)
CIE-LABlab(44.76, 49.02, -48.65)
CIE-LCHlch(44.76, 69.07, 315.22°)
OKLaboklab(54.48% 0.1136 -0.137)
OKLCHoklch(54.48% 0.178 309.6)
XYZxyz(22.8518, 14.3685, 49.1368)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4ABC #77BC4A
analogous
#564ABC #8F4ABC #BC4AB0
triadic
#8F4ABC #BC8F4A #4ABC8F
tetradic
#8F4ABC #BC564A #77BC4A #4AB0BC
square
#8F4ABC #BC564A #77BC4A #4AB0BC
split-complementary
#8F4ABC #B0BC4A #4ABC56
monochromatic
#4D2666 #6E3693 #8F4ABC #AB77CD #C6A3DD

Accessibility & contrast

On white

5.42
#8F4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8F4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4ABC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4ABC#FFFFFF#000000##FFFFFF
##8F4ABC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#89607C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4abc;
/* rgb */ color: rgb(143, 74, 188);
/* oklch */ color: oklch(54.5% 0.178 309.6);
Tailwind
colors: {
  custom: {
    50: '#b380d1',
    500: '#8f4abc',
    950: '#000000',
  },
}
SCSS
$custom: #8f4abc;
$custom-light: #b380d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4abc",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 276.316,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.17798,
    "h": 309.6
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#8F4ABC
secondary
#ACCA98
accent
#D65286
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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