#8F50CE#8F50CE

#8F50CE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.189 H 304.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8F50CE
RGBrgb(143, 80, 206)
HSLhsl(270, 56%, 56%)
HSVhsv(270, 61%, 81%)
CMYKcmyk(30.6%, 61.2%, 0%, 19.2%)
CIE-LABlab(47.02, 50.15, -55.44)
CIE-LCHlch(47.02, 74.76, 312.13°)
OKLaboklab(56.48% 0.1058 -0.157)
OKLCHoklch(56.48% 0.189 304)
XYZxyz(25.3344, 16.0333, 60.1406)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50CE #8FCE50
analogous
#5050CE #8F50CE #CE50CE
triadic
#8F50CE #CE8F50 #50CE8F
tetradic
#8F50CE #CE5050 #8FCE50 #50CECE
square
#8F50CE #CE5050 #8FCE50 #50CECE
split-complementary
#8F50CE #CECE50 #50CE50
monochromatic
#522480 #7031B0 #8F50CE #AE80DB #CCB0E9

Accessibility & contrast

On white

4.99
#8F50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8F50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50CE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50CE#FFFFFF#000000##FFFFFF
##8F50CE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#306FCB
Tritanopia (blue-blind)
#836A88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f50ce;
/* rgb */ color: rgb(143, 80, 206);
/* oklch */ color: oklch(56.5% 0.189 304.0);
Tailwind
colors: {
  custom: {
    50: '#b484de',
    500: '#8f50ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f50ce;
$custom-light: #b484de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50ce",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 270,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56482,
    "c": 0.1893,
    "h": 304
  },
  "luminance": 0.16033
}

Semantic roles & 50–950 ramp

primary
#8F50CE
secondary
#BDD7A3
accent
#E04894
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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