#8F5ABE#8F5ABE

#8F5ABE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.156 H 306.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8F5ABE
RGBrgb(143, 90, 190)
HSLhsl(272, 43%, 55%)
HSVhsv(272, 53%, 75%)
CMYKcmyk(24.7%, 52.6%, 0%, 25.5%)
CIE-LABlab(48.10, 40.96, -44.49)
CIE-LCHlch(48.10, 60.48, 312.64°)
OKLaboklab(56.97% 0.0927 -0.1249)
OKLCHoklch(56.97% 0.156 306.6)
XYZxyz(24.2762, 16.8699, 50.6825)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ABE #89BE5A
analogous
#5D5ABE #8F5ABE #BE5ABB
triadic
#8F5ABE #BE8F5A #5ABE8F
tetradic
#8F5ABE #BE5D5A #89BE5A #5ABBBE
square
#8F5ABE #BE5D5A #89BE5A #5ABBBE
split-complementary
#8F5ABE #BBBE5A #5ABE5D
monochromatic
#512D71 #703E9D #8F5ABE #AD86CF #CBB2E1

Accessibility & contrast

On white

4.80
#8F5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8F5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5ABE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ABE#FFFFFF#000000##FFFFFF
##8F5ABE1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C1
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#886C83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f5abe;
/* rgb */ color: rgb(143, 90, 190);
/* oklch */ color: oklch(57.0% 0.156 306.6);
Tailwind
colors: {
  custom: {
    50: '#b28ad2',
    500: '#8f5abe',
    950: '#000000',
  },
}
SCSS
$custom: #8f5abe;
$custom-light: #b28ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5abe",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 271.8,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56966,
    "c": 0.15557,
    "h": 306.6
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#8F5ABE
secondary
#B9CFA5
accent
#D35590
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8F5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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