#8B3ED7#8B3ED7

#8B3ED7 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.221 H 302.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8B3ED7
RGBrgb(139, 62, 215)
HSLhsl(270, 66%, 54%)
HSVhsv(270, 71%, 84%)
CMYKcmyk(35.3%, 71.2%, 0%, 15.7%)
CIE-LABlab(44.00, 60.15, -65.51)
CIE-LCHlch(44.00, 88.93, 312.56°)
OKLaboklab(54.41% 0.1189 -0.1866)
OKLCHoklch(54.41% 0.221 302.5)
XYZxyz(24.6329, 13.8405, 65.6505)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3ED7 #8AD73E
analogous
#3F3ED7 #8B3ED7 #D73ED7
triadic
#8B3ED7 #D78B3E #3ED78B
tetradic
#8B3ED7 #D73F3E #8AD73E #3ED7D7
square
#8B3ED7 #D73F3E #8AD73E #3ED7D7
split-complementary
#8B3ED7 #D7D73E #3ED73F
monochromatic
#4E1B80 #6C25B3 #8B3ED7 #A971E2 #C8A3EC

Accessibility & contrast

On white

5.57
#8B3ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8B3ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3ED7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3ED7#FFFFFF#000000##FFFFFF
##8B3ED71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#7B6387
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3ed7;
/* rgb */ color: rgb(139, 62, 215);
/* oklch */ color: oklch(54.4% 0.221 302.5);
Tailwind
colors: {
  custom: {
    50: '#b37ae4',
    500: '#8b3ed7',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ed7;
$custom-light: #b37ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ed7",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 270.196,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54407,
    "c": 0.2213,
    "h": 302.5
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

primary
#8B3ED7
secondary
#B8D998
accent
#E93F93
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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