#8B3EC2#8B3EC2

#8B3EC2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.9% C 0.200 H 307.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8B3EC2
RGBrgb(139, 62, 194)
HSLhsl(275, 52%, 50%)
HSVhsv(275, 68%, 76%)
CMYKcmyk(28.4%, 68%, 0%, 23.9%)
CIE-LABlab(42.51, 55.31, -55.80)
CIE-LCHlch(42.51, 78.57, 314.75°)
OKLaboklab(52.87% 0.122 -0.1581)
OKLCHoklch(52.87% 0.2 307.7)
XYZxyz(22.1057, 12.8296, 52.3403)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EC2 #75C23E
analogous
#493EC2 #8B3EC2 #C23EB7
triadic
#8B3EC2 #C28B3E #3EC28B
tetradic
#8B3EC2 #C2493E #75C23E #3EB7C2
square
#8B3EC2 #C2493E #75C23E #3EB7C2
split-complementary
#8B3EC2 #B7C23E #3EC249
monochromatic
#492066 #6A2F94 #8B3EC2 #A76DD1 #C39BDF

Accessibility & contrast

On white

5.89
#8B3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B3EC2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EC2#FFFFFF#000000##FFFFFF
##8B3EC21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#825B7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3ec2;
/* rgb */ color: rgb(139, 62, 194);
/* oklch */ color: oklch(52.9% 0.200 307.7);
Tailwind
colors: {
  custom: {
    50: '#b179d5',
    500: '#8b3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ec2;
$custom-light: #b179d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ec2",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 275,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.19968,
    "h": 307.7
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#8B3EC2
secondary
#A9CB90
accent
#DB4C88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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