#8B3EBC#8B3EBC

#8B3EBC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.193 H 309.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8B3EBC
RGBrgb(139, 62, 188)
HSLhsl(277, 50%, 49%)
HSVhsv(277, 67%, 74%)
CMYKcmyk(26.1%, 67%, 0%, 26.3%)
CIE-LABlab(42.10, 53.96, -52.95)
CIE-LCHlch(42.10, 75.60, 315.54°)
OKLaboklab(52.45% 0.1226 -0.1497)
OKLCHoklch(52.45% 0.193 309.3)
XYZxyz(21.4454, 12.5655, 48.8628)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EBC #6FBC3E
analogous
#4C3EBC #8B3EBC #BC3EAE
triadic
#8B3EBC #BC8B3E #3EBC8B
tetradic
#8B3EBC #BC4C3E #6FBC3E #3EAEBC
square
#8B3EBC #BC4C3E #6FBC3E #3EAEBC
split-complementary
#8B3EBC #AEBC3E #3EBC4C
monochromatic
#472060 #692F8E #8B3EBC #A76ACE #C298DD

Accessibility & contrast

On white

5.98
#8B3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8B3EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EBC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EBC#FFFFFF#000000##FFFFFF
##8B3EBC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#845978
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3ebc;
/* rgb */ color: rgb(139, 62, 188);
/* oklch */ color: oklch(52.4% 0.193 309.3);
Tailwind
colors: {
  custom: {
    50: '#b179d1',
    500: '#8b3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ebc;
$custom-light: #b179d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ebc",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 276.667,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.19348,
    "h": 309.3
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#8B3EBC
secondary
#A4C98D
accent
#DA4E84
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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