#8F3BC1#8F3BC1

#8F3BC1 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.204 H 309.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8F3BC1
RGBrgb(143, 59, 193)
HSLhsl(278, 53%, 49%)
HSVhsv(278, 69%, 76%)
CMYKcmyk(25.9%, 69.4%, 0%, 24.3%)
CIE-LABlab(42.49, 57.27, -55.22)
CIE-LCHlch(42.49, 79.55, 316.05°)
OKLaboklab(52.95% 0.1306 -0.1562)
OKLCHoklch(52.95% 0.204 309.9)
XYZxyz(22.5154, 12.8183, 51.7298)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BC1 #6DC13B
analogous
#4C3BC1 #8F3BC1 #C13BB0
triadic
#8F3BC1 #C18F3B #3BC18F
tetradic
#8F3BC1 #C14C3B #6DC13B #3BB0C1
square
#8F3BC1 #C14C3B #6DC13B #3BB0C1
split-complementary
#8F3BC1 #B0C13B #3BC14C
monochromatic
#4A1E63 #6C2D92 #8F3BC1 #AA68D1 #C497DF

Accessibility & contrast

On white

5.89
#8F3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8F3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BC1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BC1#FFFFFF#000000##FFFFFF
##8F3BC11.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#2366BE
Tritanopia (blue-blind)
#88587A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3bc1;
/* rgb */ color: rgb(143, 59, 193);
/* oklch */ color: oklch(52.9% 0.204 309.9);
Tailwind
colors: {
  custom: {
    50: '#b478d4',
    500: '#8f3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bc1;
$custom-light: #b478d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bc1",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 277.612,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.2036,
    "h": 309.9
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#8F3BC1
secondary
#A4CB8D
accent
#DD4B81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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