#8F50C7#8F50C7

#8F50C7 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.181 H 305.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8F50C7
RGBrgb(143, 80, 199)
HSLhsl(272, 52%, 55%)
HSVhsv(272, 60%, 78%)
CMYKcmyk(28.1%, 59.8%, 0%, 22%)
CIE-LABlab(46.58, 48.48, -52.12)
CIE-LCHlch(46.58, 71.18, 312.93°)
OKLaboklab(56.02% 0.106 -0.1472)
OKLCHoklch(56.02% 0.181 305.7)
XYZxyz(24.5029, 15.7007, 55.7614)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50C7 #88C750
analogous
#5450C7 #8F50C7 #C750C3
triadic
#8F50C7 #C78F50 #50C78F
tetradic
#8F50C7 #C75450 #88C750 #50C3C7
square
#8F50C7 #C75450 #88C750 #50C3C7
split-complementary
#8F50C7 #C3C750 #50C754
monochromatic
#512677 #7035A5 #8F50C7 #AD7ED6 #CAADE5

Accessibility & contrast

On white

5.07
#8F50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8F50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50C7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50C7#FFFFFF#000000##FFFFFF
##8F50C71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#386FC4
Tritanopia (blue-blind)
#866884
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f50c7;
/* rgb */ color: rgb(143, 80, 199);
/* oklch */ color: oklch(56.0% 0.181 305.7);
Tailwind
colors: {
  custom: {
    50: '#b384d9',
    500: '#8f50c7',
    950: '#000000',
  },
}
SCSS
$custom: #8f50c7;
$custom-light: #b384d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50c7",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 271.765,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.18139,
    "h": 305.7
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#8F50C7
secondary
#B8D2A0
accent
#DB4D90
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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