#8F3BC5#8F3BC5

#8F3BC5 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.208 H 308.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8F3BC5
RGBrgb(143, 59, 197)
HSLhsl(277, 54%, 50%)
HSVhsv(277, 70%, 77%)
CMYKcmyk(27.4%, 70.1%, 0%, 22.7%)
CIE-LABlab(42.76, 58.15, -57.11)
CIE-LCHlch(42.76, 81.50, 315.52°)
OKLaboklab(53.23% 0.1301 -0.1618)
OKLCHoklch(53.23% 0.208 308.8)
XYZxyz(22.9677, 12.9992, 54.1117)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BC5 #71C53B
analogous
#4A3BC5 #8F3BC5 #C53BB6
triadic
#8F3BC5 #C58F3B #3BC58F
tetradic
#8F3BC5 #C54A3B #71C53B #3BB6C5
square
#8F3BC5 #C54A3B #71C53B #3BB6C5
split-complementary
#8F3BC5 #B6C53B #3BC54A
monochromatic
#4B1F67 #6D2C96 #8F3BC5 #AA6AD3 #C599E1

Accessibility & contrast

On white

5.83
#8F3BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8F3BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BC5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BC5#FFFFFF#000000##FFFFFF
##8F3BC51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#1B66C2
Tritanopia (blue-blind)
#875A7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3bc5;
/* rgb */ color: rgb(143, 59, 197);
/* oklch */ color: oklch(53.2% 0.208 308.8);
Tailwind
colors: {
  custom: {
    50: '#b478d7',
    500: '#8f3bc5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bc5;
$custom-light: #b478d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bc5",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 276.522,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53229,
    "c": 0.20757,
    "h": 308.8
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#8F3BC5
secondary
#A7CD8F
accent
#DE4A84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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