#8B3EC3#8B3EC3

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

Color values

HEX#8B3EC3
RGBrgb(139, 62, 195)
HSLhsl(275, 53%, 50%)
HSVhsv(275, 68%, 76%)
CMYKcmyk(28.7%, 68.2%, 0%, 23.5%)
CIE-LABlab(42.57, 55.53, -56.27)
CIE-LCHlch(42.57, 79.06, 314.62°)
OKLaboklab(52.94% 0.1219 -0.1595)
OKLCHoklch(52.94% 0.201 307.4)
XYZxyz(22.2183, 12.8746, 52.9338)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EC3 #76C33E
analogous
#483EC3 #8B3EC3 #C33EB8
triadic
#8B3EC3 #C38B3E #3EC38B
tetradic
#8B3EC3 #C3483E #76C33E #3EB8C3
square
#8B3EC3 #C3483E #76C33E #3EB8C3
split-complementary
#8B3EC3 #B8C33E #3EC348
monochromatic
#492067 #6A2E95 #8B3EC3 #A76DD2 #C39BE0

Accessibility & contrast

On white

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

On black

3.57
#8B3EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B3EC3#FFFFFF#000000##FFFFFF
##8B3EC31.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#825B7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3ec3;
/* rgb */ color: rgb(139, 62, 195);
/* oklch */ color: oklch(52.9% 0.201 307.4);
Tailwind
colors: {
  custom: {
    50: '#b179d6',
    500: '#8b3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ec3;
$custom-light: #b179d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ec3",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 274.737,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.20071,
    "h": 307.4
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#8B3EC3
secondary
#AACC91
accent
#DC4C89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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