#8F3BC8#8F3BC8

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

Color values

HEX#8F3BC8
RGBrgb(143, 59, 200)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 71%, 78%)
CMYKcmyk(28.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(42.97, 58.81, -58.51)
CIE-LCHlch(42.97, 82.96, 315.15°)
OKLaboklab(53.44% 0.1297 -0.1659)
OKLCHoklch(53.44% 0.211 308)
XYZxyz(23.3148, 13.1380, 55.9401)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BC8 #74C83B
analogous
#483BC8 #8F3BC8 #C83BBA
triadic
#8F3BC8 #C88F3B #3BC88F
tetradic
#8F3BC8 #C8483B #74C83B #3BBAC8
square
#8F3BC8 #C8483B #74C83B #3BBAC8
split-complementary
#8F3BC8 #BAC83B #3BC848
monochromatic
#4C1E6B #6E2B9A #8F3BC8 #AA6BD5 #C69BE3

Accessibility & contrast

On white

5.79
#8F3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8F3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BC8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BC8#FFFFFF#000000##FFFFFF
##8F3BC81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#1466C5
Tritanopia (blue-blind)
#865B7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3bc8;
/* rgb */ color: rgb(143, 59, 200);
/* oklch */ color: oklch(53.4% 0.211 308.0);
Tailwind
colors: {
  custom: {
    50: '#b578da',
    500: '#8f3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bc8;
$custom-light: #b578da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bc8",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 275.745,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.21056,
    "h": 308
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#8F3BC8
secondary
#A9CF90
accent
#DF4885
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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