#8F50BB#8F50BB

#8F50BB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.168 H 309.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8F50BB
RGBrgb(143, 80, 187)
HSLhsl(275, 44%, 52%)
HSVhsv(275, 57%, 73%)
CMYKcmyk(23.5%, 57.2%, 0%, 26.7%)
CIE-LABlab(45.86, 45.68, -46.31)
CIE-LCHlch(45.86, 65.05, 314.61°)
OKLaboklab(55.27% 0.1059 -0.1302)
OKLCHoklch(55.27% 0.168 309.1)
XYZxyz(23.1642, 15.1652, 48.7110)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50BB #7CBB50
analogous
#5950BB #8F50BB #BB50B2
triadic
#8F50BB #BB8F50 #50BB8F
tetradic
#8F50BB #BB5950 #7CBB50 #50B2BB
square
#8F50BB #BB5950 #7CBB50 #50B2BB
split-complementary
#8F50BB #B2BB50 #50BB59
monochromatic
#4E2868 #6F3A94 #8F50BB #AB7CCC #C7A8DD

Accessibility & contrast

On white

5.21
#8F50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8F50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50BB#FFFFFF#000000##FFFFFF
##8F50BB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABE
Deuteranopia (green-blind)
#436EB8
Tritanopia (blue-blind)
#89647E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f50bb;
/* rgb */ color: rgb(143, 80, 187);
/* oklch */ color: oklch(55.3% 0.168 309.1);
Tailwind
colors: {
  custom: {
    50: '#b384d0',
    500: '#8f50bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f50bb;
$custom-light: #b384d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50bb",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 275.327,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.16782,
    "h": 309.1
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#8F50BB
secondary
#AFCB9C
accent
#D45489
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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