#8B3EC0#8B3EC0

#8B3EC0 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.7% C 0.198 H 308.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8B3EC0
RGBrgb(139, 62, 192)
HSLhsl(276, 51%, 50%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(27.6%, 67.7%, 0%, 24.7%)
CIE-LABlab(42.37, 54.86, -54.85)
CIE-LCHlch(42.37, 77.58, 315.00°)
OKLaboklab(52.73% 0.1222 -0.1553)
OKLCHoklch(52.73% 0.198 308.2)
XYZxyz(21.8826, 12.7403, 51.1653)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EC0 #73C03E
analogous
#4A3EC0 #8B3EC0 #C03EB4
triadic
#8B3EC0 #C08B3E #3EC08B
tetradic
#8B3EC0 #C04A3E #73C03E #3EB4C0
square
#8B3EC0 #C04A3E #73C03E #3EB4C0
split-complementary
#8B3EC0 #B4C03E #3EC04A
monochromatic
#482063 #6A2F92 #8B3EC0 #A76CCF #C39ADE

Accessibility & contrast

On white

5.92
#8B3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8B3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EC0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EC0#FFFFFF#000000##FFFFFF
##8B3EC01.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#835A7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3ec0;
/* rgb */ color: rgb(139, 62, 192);
/* oklch */ color: oklch(52.7% 0.198 308.2);
Tailwind
colors: {
  custom: {
    50: '#b179d4',
    500: '#8b3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ec0;
$custom-light: #b179d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ec0",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 275.538,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.19761,
    "h": 308.2
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#8B3EC0
secondary
#A7CA8F
accent
#DB4D87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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