#8B3EC8#8B3EC8

#8B3EC8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.206 H 306.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8B3EC8
RGBrgb(139, 62, 200)
HSLhsl(273, 56%, 51%)
HSVhsv(273, 69%, 78%)
CMYKcmyk(30.5%, 69%, 0%, 21.6%)
CIE-LABlab(42.92, 56.67, -58.62)
CIE-LCHlch(42.92, 81.53, 314.03°)
OKLaboklab(53.3% 0.1213 -0.1664)
OKLCHoklch(53.3% 0.206 306.1)
XYZxyz(22.7931, 13.1046, 55.9610)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EC8 #7BC83E
analogous
#463EC8 #8B3EC8 #C83EC0
triadic
#8B3EC8 #C88B3E #3EC88B
tetradic
#8B3EC8 #C8463E #7BC83E #3EC0C8
square
#8B3EC8 #C8463E #7BC83E #3EC0C8
split-complementary
#8B3EC8 #C0C83E #3EC846
monochromatic
#4A1F6D #6B2D9C #8B3EC8 #A86ED6 #C49DE3

Accessibility & contrast

On white

5.80
#8B3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8B3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EC8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EC8#FFFFFF#000000##FFFFFF
##8B3EC81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0F66C5
Tritanopia (blue-blind)
#805D7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3ec8;
/* rgb */ color: rgb(139, 62, 200);
/* oklch */ color: oklch(53.3% 0.206 306.1);
Tailwind
colors: {
  custom: {
    50: '#b279da',
    500: '#8b3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ec8;
$custom-light: #b279da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ec8",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 273.478,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.20586,
    "h": 306.1
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#8B3EC8
secondary
#ADCF92
accent
#DF498B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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