#8F50E5#8F50E5

#8F50E5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.215 H 298.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8F50E5
RGBrgb(143, 80, 229)
HSLhsl(265, 74%, 61%)
HSVhsv(265, 65%, 90%)
CMYKcmyk(37.6%, 65.1%, 0%, 10.2%)
CIE-LABlab(48.55, 55.77, -66.07)
CIE-LCHlch(48.55, 86.46, 310.17°)
OKLaboklab(58.08% 0.1041 -0.1882)
OKLCHoklch(58.08% 0.215 298.9)
XYZxyz(28.3357, 17.2338, 75.9471)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50E5 #A6E550
analogous
#505BE5 #8F50E5 #D950E5
triadic
#8F50E5 #E58F50 #50E58F
tetradic
#8F50E5 #E5505B #A6E550 #50E5D9
square
#8F50E5 #E5505B #A6E550 #50E5D9
split-complementary
#8F50E5 #E5D950 #5BE550
monochromatic
#5318A2 #6E20D8 #8F50E5 #B185ED #D3BBF5

Accessibility & contrast

On white

4.72
#8F50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8F50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50E5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50E5#FFFFFF#000000##FFFFFF
##8F50E51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#7B7294
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f50e5;
/* rgb */ color: rgb(143, 80, 229);
/* oklch */ color: oklch(58.1% 0.215 298.9);
Tailwind
colors: {
  custom: {
    50: '#b685ee',
    500: '#8f50e5',
    950: '#000000',
  },
}
SCSS
$custom: #8f50e5;
$custom-light: #b685ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50e5",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 265.369,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.21508,
    "h": 298.9
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#8F50E5
secondary
#CDE5AC
accent
#D60F82
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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