#8B3FBC#8B3FBC

#8B3FBC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.192 H 309.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8B3FBC
RGBrgb(139, 63, 188)
HSLhsl(276, 50%, 49%)
HSVhsv(276, 66%, 74%)
CMYKcmyk(26.1%, 66.5%, 0%, 26.3%)
CIE-LABlab(42.27, 53.49, -52.68)
CIE-LCHlch(42.27, 75.07, 315.44°)
OKLaboklab(52.57% 0.1215 -0.1489)
OKLCHoklch(52.57% 0.192 309.2)
XYZxyz(21.5003, 12.6752, 48.8811)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FBC #70BC3F
analogous
#4D3FBC #8B3FBC #BC3FAF
triadic
#8B3FBC #BC8B3F #3FBC8B
tetradic
#8B3FBC #BC4D3F #70BC3F #3FAFBC
square
#8B3FBC #BC4D3F #70BC3F #3FAFBC
split-complementary
#8B3FBC #AFBC3F #3FBC4D
monochromatic
#472060 #69308E #8B3FBC #A76BCD #C299DD

Accessibility & contrast

On white

5.94
#8B3FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8B3FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FBC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FBC#FFFFFF#000000##FFFFFF
##8B3FBC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#845978
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3fbc;
/* rgb */ color: rgb(139, 63, 188);
/* oklch */ color: oklch(52.6% 0.192 309.2);
Tailwind
colors: {
  custom: {
    50: '#b179d1',
    500: '#8b3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fbc;
$custom-light: #b179d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fbc",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 276.48,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.19216,
    "h": 309.2
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#8B3FBC
secondary
#A5C98E
accent
#D94E85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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