#8F50AF#8F50AF

#8F50AF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.154 H 313.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8F50AF
RGBrgb(143, 80, 175)
HSLhsl(280, 37%, 50%)
HSVhsv(280, 54%, 69%)
CMYKcmyk(18.3%, 54.3%, 0%, 31.4%)
CIE-LABlab(45.18, 42.96, -40.36)
CIE-LCHlch(45.18, 58.95, 316.79°)
OKLaboklab(54.55% 0.1052 -0.1128)
OKLCHoklch(54.55% 0.154 313)
XYZxyz(21.9329, 14.6727, 42.2258)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50AF #70AF50
analogous
#5F50AF #8F50AF #AF50A0
triadic
#8F50AF #AF8F50 #50AF8F
tetradic
#8F50AF #AF5F50 #70AF50 #50A0AF
square
#8F50AF #AF5F50 #70AF50 #50A0AF
split-complementary
#8F50AF #A0AF50 #50AF5F
monochromatic
#4A2A5B #6D3D85 #8F50AF #AA7AC2 #C5A4D5

Accessibility & contrast

On white

5.34
#8F50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8F50AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50AF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50AF#FFFFFF#000000##FFFFFF
##8F50AF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#4C6CAD
Tritanopia (blue-blind)
#8C6078
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f50af;
/* rgb */ color: rgb(143, 80, 175);
/* oklch */ color: oklch(54.5% 0.154 313.0);
Tailwind
colors: {
  custom: {
    50: '#b284c7',
    500: '#8f50af',
    950: '#000000',
  },
}
SCSS
$custom: #8f50af;
$custom-light: #b284c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50af",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 279.789,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.15429,
    "h": 313
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#8F50AF
secondary
#A6C398
accent
#CD5B81
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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