#8B3BCA#8B3BCA

#8B3BCA is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.212 H 305.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8B3BCA
RGBrgb(139, 59, 202)
HSLhsl(274, 57%, 51%)
HSVhsv(274, 71%, 79%)
CMYKcmyk(31.2%, 70.8%, 0%, 20.8%)
CIE-LABlab(42.58, 58.47, -60.32)
CIE-LCHlch(42.58, 84.01, 314.11°)
OKLaboklab(53.1% 0.124 -0.1713)
OKLCHoklch(53.1% 0.212 305.9)
XYZxyz(22.8698, 12.8814, 57.1472)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BCA #7ACA3B
analogous
#433BCA #8B3BCA #CA3BC2
triadic
#8B3BCA #CA8B3B #3BCA8B
tetradic
#8B3BCA #CA433B #7ACA3B #3BC2CA
square
#8B3BCA #CA433B #7ACA3B #3BC2CA
split-complementary
#8B3BCA #C2CA3B #3BCA43
monochromatic
#4A1E6D #6B2B9D #8B3BCA #A86BD7 #C49BE4

Accessibility & contrast

On white

5.87
#8B3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8B3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BCA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BCA#FFFFFF#000000##FFFFFF
##8B3BCA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#805C7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3bca;
/* rgb */ color: rgb(139, 59, 202);
/* oklch */ color: oklch(53.1% 0.212 305.9);
Tailwind
colors: {
  custom: {
    50: '#b278db',
    500: '#8b3bca',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bca;
$custom-light: #b278db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bca",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 273.566,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.531,
    "c": 0.21153,
    "h": 305.9
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#8B3BCA
secondary
#ADD091
accent
#E1478B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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