#8F50BF#8F50BF

#8F50BF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.172 H 307.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8F50BF
RGBrgb(143, 80, 191)
HSLhsl(274, 46%, 53%)
HSVhsv(274, 58%, 75%)
CMYKcmyk(25.1%, 58.1%, 0%, 25.1%)
CIE-LABlab(46.09, 46.61, -48.26)
CIE-LCHlch(46.09, 67.09, 314.00°)
OKLaboklab(55.51% 0.106 -0.1359)
OKLCHoklch(55.51% 0.172 307.9)
XYZxyz(23.5984, 15.3389, 50.9976)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50BF #80BF50
analogous
#5750BF #8F50BF #BF50B8
triadic
#8F50BF #BF8F50 #50BF8F
tetradic
#8F50BF #BF5750 #80BF50 #50B8BF
square
#8F50BF #BF5750 #80BF50 #50B8BF
split-complementary
#8F50BF #B8BF50 #50BF57
monochromatic
#4F286D #6F389A #8F50BF #AC7DCF #C8AAE0

Accessibility & contrast

On white

5.16
#8F50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8F50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50BF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50BF#FFFFFF#000000##FFFFFF
##8F50BF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#406EBC
Tritanopia (blue-blind)
#886580
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f50bf;
/* rgb */ color: rgb(143, 80, 191);
/* oklch */ color: oklch(55.5% 0.172 307.9);
Tailwind
colors: {
  custom: {
    50: '#b384d3',
    500: '#8f50bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f50bf;
$custom-light: #b384d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50bf",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 274.054,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.17234,
    "h": 307.9
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#8F50BF
secondary
#B2CD9D
accent
#D6528B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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