#8B3ED6#8B3ED6

#8B3ED6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.220 H 302.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8B3ED6
RGBrgb(139, 62, 214)
HSLhsl(270, 65%, 54%)
HSVhsv(270, 71%, 84%)
CMYKcmyk(35%, 71%, 0%, 16.1%)
CIE-LABlab(43.93, 59.91, -65.06)
CIE-LCHlch(43.93, 88.44, 312.64°)
OKLaboklab(54.33% 0.1191 -0.1853)
OKLCHoklch(54.33% 0.22 302.7)
XYZxyz(24.5048, 13.7892, 64.9759)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3ED6 #89D63E
analogous
#3F3ED6 #8B3ED6 #D63ED5
triadic
#8B3ED6 #D68B3E #3ED68B
tetradic
#8B3ED6 #D63F3E #89D63E #3ED5D6
square
#8B3ED6 #D63F3E #89D63E #3ED5D6
split-complementary
#8B3ED6 #D5D63E #3ED63F
monochromatic
#4D1B7F #6C26B1 #8B3ED6 #A970E1 #C8A3EB

Accessibility & contrast

On white

5.59
#8B3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8B3ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3ED6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3ED6#FFFFFF#000000##FFFFFF
##8B3ED61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#7C6386
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3ed6;
/* rgb */ color: rgb(139, 62, 214);
/* oklch */ color: oklch(54.3% 0.220 302.7);
Tailwind
colors: {
  custom: {
    50: '#b37ae4',
    500: '#8b3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ed6;
$custom-light: #b37ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ed6",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 270.395,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.22027,
    "h": 302.7
  },
  "luminance": 0.13789
}

Semantic roles & 50–950 ramp

primary
#8B3ED6
secondary
#B7D898
accent
#E84093
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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