#8B3BC5#8B3BC5

#8B3BC5 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.206 H 307.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8B3BC5
RGBrgb(139, 59, 197)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 70%, 77%)
CMYKcmyk(29.4%, 70.1%, 0%, 22.7%)
CIE-LABlab(42.23, 57.34, -57.99)
CIE-LCHlch(42.23, 81.55, 314.68°)
OKLaboklab(52.74% 0.1248 -0.1645)
OKLCHoklch(52.74% 0.206 307.2)
XYZxyz(22.2873, 12.6484, 54.0798)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BC5 #75C53B
analogous
#463BC5 #8B3BC5 #C53BBA
triadic
#8B3BC5 #C58B3B #3BC58B
tetradic
#8B3BC5 #C5463B #75C53B #3BBAC5
square
#8B3BC5 #C5463B #75C53B #3BBAC5
split-complementary
#8B3BC5 #BAC53B #3BC546
monochromatic
#491F67 #6A2C96 #8B3BC5 #A76AD3 #C399E1

Accessibility & contrast

On white

5.95
#8B3BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B3BC5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BC5#FFFFFF#000000##FFFFFF
##8B3BC51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#1064C2
Tritanopia (blue-blind)
#815A7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3bc5;
/* rgb */ color: rgb(139, 59, 197);
/* oklch */ color: oklch(52.7% 0.206 307.2);
Tailwind
colors: {
  custom: {
    50: '#b277d7',
    500: '#8b3bc5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bc5;
$custom-light: #b277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bc5",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 274.783,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.20648,
    "h": 307.2
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#8B3BC5
secondary
#A9CD8F
accent
#DE4A88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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