#8F50C8#8F50C8

#8F50C8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.183 H 305.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F50C8
RGBrgb(143, 80, 200)
HSLhsl(272, 52%, 55%)
HSVhsv(272, 60%, 78%)
CMYKcmyk(28.5%, 60%, 0%, 21.6%)
CIE-LABlab(46.64, 48.72, -52.60)
CIE-LCHlch(46.64, 71.69, 312.81°)
OKLaboklab(56.09% 0.106 -0.1486)
OKLCHoklch(56.09% 0.183 305.5)
XYZxyz(24.6194, 15.7473, 56.3749)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50C8 #89C850
analogous
#5350C8 #8F50C8 #C850C5
triadic
#8F50C8 #C88F50 #50C88F
tetradic
#8F50C8 #C85350 #89C850 #50C5C8
square
#8F50C8 #C85350 #89C850 #50C5C8
split-complementary
#8F50C8 #C5C850 #50C853
monochromatic
#512678 #7034A6 #8F50C8 #AD7FD7 #CBADE5

Accessibility & contrast

On white

5.06
#8F50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8F50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50C8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50C8#FFFFFF#000000##FFFFFF
##8F50C81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166DCC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#856884
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f50c8;
/* rgb */ color: rgb(143, 80, 200);
/* oklch */ color: oklch(56.1% 0.183 305.5);
Tailwind
colors: {
  custom: {
    50: '#b384d9',
    500: '#8f50c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f50c8;
$custom-light: #b384d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50c8",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 271.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.18253,
    "h": 305.5
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#8F50C8
secondary
#B9D3A1
accent
#DC4C90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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