#8B3FBB#8B3FBB

#8B3FBB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.191 H 309.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8B3FBB
RGBrgb(139, 63, 187)
HSLhsl(277, 50%, 49%)
HSVhsv(277, 66%, 73%)
CMYKcmyk(25.7%, 66.3%, 0%, 26.7%)
CIE-LABlab(42.20, 53.27, -52.20)
CIE-LCHlch(42.20, 74.58, 315.58°)
OKLaboklab(52.5% 0.1215 -0.1475)
OKLCHoklch(52.5% 0.191 309.5)
XYZxyz(21.3928, 12.6322, 48.3154)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FBB #6FBB3F
analogous
#4D3FBB #8B3FBB #BB3FAD
triadic
#8B3FBB #BB8B3F #3FBB8B
tetradic
#8B3FBB #BB4D3F #6FBB3F #3FADBB
square
#8B3FBB #BB4D3F #6FBB3F #3FADBB
split-complementary
#8B3FBB #ADBB3F #3FBB4D
monochromatic
#47205F #69308D #8B3FBB #A76ACD #C298DC

Accessibility & contrast

On white

5.96
#8B3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8B3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FBB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FBB#FFFFFF#000000##FFFFFF
##8B3FBB1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2B65B8
Tritanopia (blue-blind)
#845978
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3fbb;
/* rgb */ color: rgb(139, 63, 187);
/* oklch */ color: oklch(52.5% 0.191 309.5);
Tailwind
colors: {
  custom: {
    50: '#b179d0',
    500: '#8b3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fbb;
$custom-light: #b179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fbb",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 276.774,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.19112,
    "h": 309.5
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#8B3FBB
secondary
#A4C88E
accent
#D94F84
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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