#8F5ABA#8F5ABA

#8F5ABA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.151 H 307.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F5ABA
RGBrgb(143, 90, 186)
HSLhsl(273, 41%, 54%)
HSVhsv(273, 52%, 73%)
CMYKcmyk(23.1%, 51.6%, 0%, 27.1%)
CIE-LABlab(47.88, 40.02, -42.52)
CIE-LCHlch(47.88, 58.39, 313.27°)
OKLaboklab(56.73% 0.0924 -0.1192)
OKLCHoklch(56.73% 0.151 307.8)
XYZxyz(23.8450, 16.6974, 48.4116)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ABA #85BA5A
analogous
#5F5ABA #8F5ABA #BA5AB5
triadic
#8F5ABA #BA8F5A #5ABA8F
tetradic
#8F5ABA #BA5F5A #85BA5A #5AB5BA
square
#8F5ABA #BA5F5A #85BA5A #5AB5BA
split-complementary
#8F5ABA #B5BA5A #5ABA5F
monochromatic
#502D6C #703F97 #8F5ABA #AC85CC #CAB0DE

Accessibility & contrast

On white

4.84
#8F5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8F5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5ABA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ABA#FFFFFF#000000##FFFFFF
##8F5ABA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BD
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#896B81
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f5aba;
/* rgb */ color: rgb(143, 90, 186);
/* oklch */ color: oklch(56.7% 0.151 307.8);
Tailwind
colors: {
  custom: {
    50: '#b28acf',
    500: '#8f5aba',
    950: '#000000',
  },
}
SCSS
$custom: #8f5aba;
$custom-light: #b28acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5aba",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 273.125,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.15078,
    "h": 307.8
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#8F5ABA
secondary
#B6CCA3
accent
#D1578E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8F5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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