#8B3FD6#8B3FD6

#8B3FD6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.219 H 302.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8B3FD6
RGBrgb(139, 63, 214)
HSLhsl(270, 65%, 54%)
HSVhsv(270, 71%, 84%)
CMYKcmyk(35%, 70.6%, 0%, 16.1%)
CIE-LABlab(44.09, 59.47, -64.80)
CIE-LCHlch(44.09, 87.95, 312.54°)
OKLaboklab(54.44% 0.1182 -0.1845)
OKLCHoklch(54.44% 0.219 302.6)
XYZxyz(24.5597, 13.8990, 64.9942)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FD6 #8AD63F
analogous
#403FD6 #8B3FD6 #D63FD5
triadic
#8B3FD6 #D68B3F #3FD68B
tetradic
#8B3FD6 #D6403F #8AD63F #3FD5D6
square
#8B3FD6 #D6403F #8AD63F #3FD5D6
split-complementary
#8B3FD6 #D5D63F #3FD640
monochromatic
#4E1B7F #6C26B2 #8B3FD6 #A971E1 #C8A4EC

Accessibility & contrast

On white

5.56
#8B3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8B3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FD6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FD6#FFFFFF#000000##FFFFFF
##8B3FD61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b3fd6;
/* rgb */ color: rgb(139, 63, 214);
/* oklch */ color: oklch(54.4% 0.219 302.6);
Tailwind
colors: {
  custom: {
    50: '#b37ae4',
    500: '#8b3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fd6;
$custom-light: #b37ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fd6",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 270.199,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.21911,
    "h": 302.6
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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