#8F3BC4#8F3BC4

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

Color values

HEX#8F3BC4
RGBrgb(143, 59, 196)
HSLhsl(277, 54%, 50%)
HSVhsv(277, 70%, 77%)
CMYKcmyk(27%, 69.9%, 0%, 23.1%)
CIE-LABlab(42.69, 57.93, -56.63)
CIE-LCHlch(42.69, 81.01, 315.65°)
OKLaboklab(53.16% 0.1302 -0.1604)
OKLCHoklch(53.16% 0.207 309.1)
XYZxyz(22.8535, 12.9535, 53.5102)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BC4 #70C43B
analogous
#4A3BC4 #8F3BC4 #C43BB5
triadic
#8F3BC4 #C48F3B #3BC48F
tetradic
#8F3BC4 #C44A3B #70C43B #3BB5C4
square
#8F3BC4 #C44A3B #70C43B #3BB5C4
split-complementary
#8F3BC4 #B5C43B #3BC44A
monochromatic
#4A1F66 #6D2D95 #8F3BC4 #AA6AD2 #C599E0

Accessibility & contrast

On white

5.85
#8F3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8F3BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BC4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BC4#FFFFFF#000000##FFFFFF
##8F3BC41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1E66C1
Tritanopia (blue-blind)
#87597B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3bc4;
/* rgb */ color: rgb(143, 59, 196);
/* oklch */ color: oklch(53.2% 0.207 309.1);
Tailwind
colors: {
  custom: {
    50: '#b478d7',
    500: '#8f3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bc4;
$custom-light: #b478d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bc4",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 276.788,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.20658,
    "h": 309.1
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#8F3BC4
secondary
#A6CC8F
accent
#DD4B83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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