#8F50D7#8F50D7

#8F50D7 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.1% C 0.199 H 301.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8F50D7
RGBrgb(143, 80, 215)
HSLhsl(268, 63%, 58%)
HSVhsv(268, 63%, 84%)
CMYKcmyk(33.5%, 62.8%, 0%, 15.7%)
CIE-LABlab(47.60, 52.33, -59.66)
CIE-LCHlch(47.60, 79.35, 311.25°)
OKLaboklab(57.09% 0.1053 -0.1694)
OKLCHoklch(57.09% 0.199 301.9)
XYZxyz(26.4592, 16.4832, 66.0644)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50D7 #98D750
analogous
#5054D7 #8F50D7 #D350D7
triadic
#8F50D7 #D78F50 #50D78F
tetradic
#8F50D7 #D75054 #98D750 #50D7D3
square
#8F50D7 #D75054 #98D750 #50D7D3
split-complementary
#8F50D7 #D7D350 #54D750
monochromatic
#53208C #702BBE #8F50D7 #AF82E2 #CFB4EE

Accessibility & contrast

On white

4.89
#8F50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8F50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50D7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50D7#FFFFFF#000000##FFFFFF
##8F50D71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#2170D4
Tritanopia (blue-blind)
#806D8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f50d7;
/* rgb */ color: rgb(143, 80, 215);
/* oklch */ color: oklch(57.1% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#b484e4',
    500: '#8f50d7',
    950: '#000000',
  },
}
SCSS
$custom: #8f50d7;
$custom-light: #b484e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50d7",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 268,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57092,
    "c": 0.19944,
    "h": 301.9
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#8F50D7
secondary
#C3DCA6
accent
#E64299
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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