#8F50D4#8F50D4

#8F50D4 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.196 H 302.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8F50D4
RGBrgb(143, 80, 212)
HSLhsl(269, 61%, 57%)
HSVhsv(269, 62%, 83%)
CMYKcmyk(32.5%, 62.3%, 0%, 16.9%)
CIE-LABlab(47.41, 51.60, -58.26)
CIE-LCHlch(47.41, 77.83, 311.53°)
OKLaboklab(56.89% 0.1055 -0.1653)
OKLCHoklch(56.89% 0.196 302.6)
XYZxyz(26.0773, 16.3304, 64.0528)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50D4 #95D450
analogous
#5053D4 #8F50D4 #D150D4
triadic
#8F50D4 #D48F50 #50D48F
tetradic
#8F50D4 #D45053 #95D450 #50D4D1
square
#8F50D4 #D45053 #95D450 #50D4D1
split-complementary
#8F50D4 #D4D150 #53D450
monochromatic
#522188 #702EB9 #8F50D4 #AE81E0 #CEB2EC

Accessibility & contrast

On white

4.92
#8F50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8F50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50D4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50D4#FFFFFF#000000##FFFFFF
##8F50D41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#2770D1
Tritanopia (blue-blind)
#816C8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f50d4;
/* rgb */ color: rgb(143, 80, 212);
/* oklch */ color: oklch(56.9% 0.196 302.6);
Tailwind
colors: {
  custom: {
    50: '#b484e2',
    500: '#8f50d4',
    950: '#000000',
  },
}
SCSS
$custom: #8f50d4;
$custom-light: #b484e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50d4",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 268.636,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.19606,
    "h": 302.6
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#8F50D4
secondary
#C1DBA5
accent
#E44498
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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