#8F50D5#8F50D5

#8F50D5 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.197 H 302.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F50D5
RGBrgb(143, 80, 213)
HSLhsl(268, 61%, 57%)
HSVhsv(268, 62%, 84%)
CMYKcmyk(32.9%, 62.4%, 0%, 16.5%)
CIE-LABlab(47.47, 51.84, -58.73)
CIE-LCHlch(47.47, 78.34, 311.44°)
OKLaboklab(56.95% 0.1055 -0.1666)
OKLCHoklch(56.95% 0.197 302.3)
XYZxyz(26.2038, 16.3810, 64.7192)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50D5 #96D550
analogous
#5054D5 #8F50D5 #D150D5
triadic
#8F50D5 #D58F50 #50D58F
tetradic
#8F50D5 #D55054 #96D550 #50D5D1
square
#8F50D5 #D55054 #96D550 #50D5D1
split-complementary
#8F50D5 #D5D150 #54D550
monochromatic
#53218A #702DBB #8F50D5 #AF81E1 #CEB3ED

Accessibility & contrast

On white

4.91
#8F50D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8F50D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50D5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50D5#FFFFFF#000000##FFFFFF
##8F50D51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#2570D2
Tritanopia (blue-blind)
#816C8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f50d5;
/* rgb */ color: rgb(143, 80, 213);
/* oklch */ color: oklch(57.0% 0.197 302.3);
Tailwind
colors: {
  custom: {
    50: '#b484e3',
    500: '#8f50d5',
    950: '#000000',
  },
}
SCSS
$custom: #8f50d5;
$custom-light: #b484e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50d5",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 268.421,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.19719,
    "h": 302.3
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#8F50D5
secondary
#C2DBA6
accent
#E44398
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #8F50D5

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

Preview Lab → · Contrast checker → · Palette generator →

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