#8F3BC7#8F3BC7

#8F3BC7 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.210 H 308.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8F3BC7
RGBrgb(143, 59, 199)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 70%, 78%)
CMYKcmyk(28.1%, 70.4%, 0%, 22%)
CIE-LABlab(42.90, 58.59, -58.04)
CIE-LCHlch(42.90, 82.47, 315.27°)
OKLaboklab(53.37% 0.1298 -0.1645)
OKLCHoklch(53.37% 0.21 308.3)
XYZxyz(23.1983, 13.0915, 55.3266)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BC7 #73C73B
analogous
#493BC7 #8F3BC7 #C73BB9
triadic
#8F3BC7 #C78F3B #3BC78F
tetradic
#8F3BC7 #C7493B #73C73B #3BB9C7
square
#8F3BC7 #C7493B #73C73B #3BB9C7
split-complementary
#8F3BC7 #B9C73B #3BC749
monochromatic
#4B1E69 #6D2C99 #8F3BC7 #AA6BD5 #C59AE2

Accessibility & contrast

On white

5.80
#8F3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BC7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BC7#FFFFFF#000000##FFFFFF
##8F3BC71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#1766C4
Tritanopia (blue-blind)
#865B7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3bc7;
/* rgb */ color: rgb(143, 59, 199);
/* oklch */ color: oklch(53.4% 0.210 308.3);
Tailwind
colors: {
  custom: {
    50: '#b478d9',
    500: '#8f3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bc7;
$custom-light: #b478d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bc7",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.20956,
    "h": 308.3
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#8F3BC7
secondary
#A9CE90
accent
#DF4985
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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