#8B3ED9#8B3ED9

#8B3ED9 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.223 H 302.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8B3ED9
RGBrgb(139, 62, 217)
HSLhsl(270, 67%, 55%)
HSVhsv(270, 71%, 85%)
CMYKcmyk(35.9%, 71.4%, 0%, 14.9%)
CIE-LABlab(44.15, 60.62, -66.41)
CIE-LCHlch(44.15, 89.92, 312.39°)
OKLaboklab(54.56% 0.1186 -0.1893)
OKLCHoklch(54.56% 0.223 302.1)
XYZxyz(24.8915, 13.9439, 67.0123)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3ED9 #8CD93E
analogous
#3E3FD9 #8B3ED9 #D83ED9
triadic
#8B3ED9 #D98B3E #3ED98B
tetradic
#8B3ED9 #D93E3F #8CD93E #3ED9D8
square
#8B3ED9 #D93E3F #8CD93E #3ED9D8
split-complementary
#8B3ED9 #D9D83E #3FD93E
monochromatic
#4E1A83 #6C24B6 #8B3ED9 #AA71E3 #C8A4ED

Accessibility & contrast

On white

5.54
#8B3ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8B3ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3ED9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3ED9#FFFFFF#000000##FFFFFF
##8B3ED91.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#7B6488
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3ed9;
/* rgb */ color: rgb(139, 62, 217);
/* oklch */ color: oklch(54.6% 0.223 302.1);
Tailwind
colors: {
  custom: {
    50: '#b37ae6',
    500: '#8b3ed9',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ed9;
$custom-light: #b37ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ed9",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 269.806,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.22335,
    "h": 302.1
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#8B3ED9
secondary
#BADA99
accent
#EA3E94
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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