#8F50DC#8F50DC

#8F50DC is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.205 H 300.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8F50DC
RGBrgb(143, 80, 220)
HSLhsl(267, 67%, 59%)
HSVhsv(267, 64%, 86%)
CMYKcmyk(35%, 63.6%, 0%, 13.7%)
CIE-LABlab(47.94, 53.55, -61.97)
CIE-LCHlch(47.94, 81.90, 310.83°)
OKLaboklab(57.44% 0.105 -0.1761)
OKLCHoklch(57.44% 0.205 300.8)
XYZxyz(27.1115, 16.7441, 69.4999)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50DC #9DDC50
analogous
#5057DC #8F50DC #D550DC
triadic
#8F50DC #DC8F50 #50DC8F
tetradic
#8F50DC #DC5057 #9DDC50 #50DCD5
square
#8F50DC #DC5057 #9DDC50 #50DCD5
split-complementary
#8F50DC #DCD550 #57DC50
monochromatic
#531E94 #6F28C7 #8F50DC #B083E6 #D0B6F0

Accessibility & contrast

On white

4.83
#8F50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8F50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50DC#FFFFFF#000000##FFFFFF
##8F50DC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#1471D9
Tritanopia (blue-blind)
#7F6F8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f50dc;
/* rgb */ color: rgb(143, 80, 220);
/* oklch */ color: oklch(57.4% 0.205 300.8);
Tailwind
colors: {
  custom: {
    50: '#b585e8',
    500: '#8f50dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f50dc;
$custom-light: #b585e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50dc",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 267,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57439,
    "c": 0.20504,
    "h": 300.8
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

primary
#8F50DC
secondary
#C7DFA8
accent
#EA3E9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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