#8F50D9#8F50D9

#8F50D9 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.202 H 301.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F50D9
RGBrgb(143, 80, 217)
HSLhsl(268, 64%, 58%)
HSVhsv(268, 63%, 85%)
CMYKcmyk(34.1%, 63.1%, 0%, 14.9%)
CIE-LABlab(47.73, 52.82, -60.58)
CIE-LCHlch(47.73, 80.37, 311.08°)
OKLaboklab(57.23% 0.1052 -0.1721)
OKLCHoklch(57.23% 0.202 301.4)
XYZxyz(26.7178, 16.5866, 67.4261)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50D9 #9AD950
analogous
#5055D9 #8F50D9 #D350D9
triadic
#8F50D9 #D98F50 #50D98F
tetradic
#8F50D9 #D95055 #9AD950 #50D9D3
square
#8F50D9 #D95055 #9AD950 #50D9D3
split-complementary
#8F50D9 #D9D350 #55D950
monochromatic
#531F8F #702AC2 #8F50D9 #AF82E4 #CFB5EF

Accessibility & contrast

On white

4.86
#8F50D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8F50D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50D9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50D9#FFFFFF#000000##FFFFFF
##8F50D91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#1C71D6
Tritanopia (blue-blind)
#806E8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f50d9;
/* rgb */ color: rgb(143, 80, 217);
/* oklch */ color: oklch(57.2% 0.202 301.4);
Tailwind
colors: {
  custom: {
    50: '#b584e6',
    500: '#8f50d9',
    950: '#000000',
  },
}
SCSS
$custom: #8f50d9;
$custom-light: #b584e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50d9",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 267.591,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.20168,
    "h": 301.4
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#8F50D9
secondary
#C5DEA7
accent
#E7409B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50D9

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

Preview Lab → · Contrast checker → · Palette generator →

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