#8F50E4#8F50E4

#8F50E4 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.214 H 299.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8F50E4
RGBrgb(143, 80, 228)
HSLhsl(266, 73%, 60%)
HSVhsv(266, 65%, 89%)
CMYKcmyk(37.3%, 64.9%, 0%, 10.6%)
CIE-LABlab(48.48, 55.52, -65.62)
CIE-LCHlch(48.48, 85.96, 310.24°)
OKLaboklab(58.01% 0.1042 -0.1869)
OKLCHoklch(58.01% 0.214 299.1)
XYZxyz(28.1965, 17.1781, 75.2139)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50E4 #A5E450
analogous
#505BE4 #8F50E4 #D950E4
triadic
#8F50E4 #E48F50 #50E48F
tetradic
#8F50E4 #E4505B #A5E450 #50E4D9
square
#8F50E4 #E4505B #A5E450 #50E4D9
split-complementary
#8F50E4 #E4D950 #5BE450
monochromatic
#5319A1 #6E21D6 #8F50E4 #B185EC #D3BAF4

Accessibility & contrast

On white

4.73
#8F50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8F50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50E4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50E4#FFFFFF#000000##FFFFFF
##8F50E41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#7C7293
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f50e4;
/* rgb */ color: rgb(143, 80, 228);
/* oklch */ color: oklch(58.0% 0.214 299.1);
Tailwind
colors: {
  custom: {
    50: '#b585ed',
    500: '#8f50e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f50e4;
$custom-light: #b585ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50e4",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 265.541,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.21398,
    "h": 299.1
  },
  "luminance": 0.17178
}

Semantic roles & 50–950 ramp

primary
#8F50E4
secondary
#CCE4AC
accent
#D51081
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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