#8D50AF#8D50AF

#8D50AF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.153 H 312.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8D50AF
RGBrgb(141, 80, 175)
HSLhsl(279, 37%, 50%)
HSVhsv(279, 54%, 69%)
CMYKcmyk(19.4%, 54.3%, 0%, 31.4%)
CIE-LABlab(44.94, 42.42, -40.77)
CIE-LCHlch(44.94, 58.84, 316.14°)
OKLaboklab(54.31% 0.1027 -0.1141)
OKLCHoklch(54.31% 0.153 312)
XYZxyz(21.5897, 14.4957, 42.2098)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50AF #72AF50
analogous
#5D50AF #8D50AF #AF50A2
triadic
#8D50AF #AF8D50 #50AF8D
tetradic
#8D50AF #AF5D50 #72AF50 #50A2AF
square
#8D50AF #AF5D50 #72AF50 #50A2AF
split-complementary
#8D50AF #A2AF50 #50AF5D
monochromatic
#492A5B #6B3D85 #8D50AF #A87AC2 #C4A4D5

Accessibility & contrast

On white

5.39
#8D50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8D50AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50AF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50AF#FFFFFF#000000##FFFFFF
##8D50AF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#4A6CAD
Tritanopia (blue-blind)
#896078
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d50af;
/* rgb */ color: rgb(141, 80, 175);
/* oklch */ color: oklch(54.3% 0.153 312.0);
Tailwind
colors: {
  custom: {
    50: '#b183c7',
    500: '#8d50af',
    950: '#000000',
  },
}
SCSS
$custom: #8d50af;
$custom-light: #b183c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50af",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 278.526,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.15349,
    "h": 312
  },
  "luminance": 0.14495
}

Semantic roles & 50–950 ramp

primary
#8D50AF
secondary
#A7C398
accent
#CD5B84
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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