#8F50B3#8F50B3

#8F50B3 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.159 H 311.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8F50B3
RGBrgb(143, 80, 179)
HSLhsl(278, 39%, 51%)
HSVhsv(278, 55%, 70%)
CMYKcmyk(20.1%, 55.3%, 0%, 29.8%)
CIE-LABlab(45.40, 43.86, -42.36)
CIE-LCHlch(45.40, 60.98, 316.00°)
OKLaboklab(54.78% 0.1055 -0.1187)
OKLCHoklch(54.78% 0.159 311.6)
XYZxyz(22.3316, 14.8321, 44.3256)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50B3 #74B350
analogous
#5D50B3 #8F50B3 #B350A5
triadic
#8F50B3 #B38F50 #50B38F
tetradic
#8F50B3 #B35D50 #74B350 #50A5B3
square
#8F50B3 #B35D50 #74B350 #50A5B3
split-complementary
#8F50B3 #A5B350 #50B35D
monochromatic
#4C295F #6E3C8A #8F50B3 #AA7BC6 #C6A5D8

Accessibility & contrast

On white

5.29
#8F50B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8F50B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50B3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50B3#FFFFFF#000000##FFFFFF
##8F50B31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B6
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#8B617A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f50b3;
/* rgb */ color: rgb(143, 80, 179);
/* oklch */ color: oklch(54.8% 0.159 311.6);
Tailwind
colors: {
  custom: {
    50: '#b284ca',
    500: '#8f50b3',
    950: '#000000',
  },
}
SCSS
$custom: #8f50b3;
$custom-light: #b284ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50b3",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 278.182,
    "s": 39.442,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.15879,
    "h": 311.6
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#8F50B3
secondary
#A9C599
accent
#CF5884
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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