#8B3BD6#8B3BD6

#8B3BD6 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.224 H 303.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8B3BD6
RGBrgb(139, 59, 214)
HSLhsl(271, 65%, 54%)
HSVhsv(271, 72%, 84%)
CMYKcmyk(35%, 72.4%, 0%, 16.1%)
CIE-LABlab(43.47, 61.22, -65.81)
CIE-LCHlch(43.47, 89.88, 312.93°)
OKLaboklab(54% 0.122 -0.1875)
OKLCHoklch(54% 0.224 303)
XYZxyz(24.3462, 13.4719, 64.9230)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BD6 #86D63B
analogous
#3D3BD6 #8B3BD6 #D63BD3
triadic
#8B3BD6 #D68B3B #3BD68B
tetradic
#8B3BD6 #D63D3B #86D63B #3BD3D6
square
#8B3BD6 #D63D3B #86D63B #3BD3D6
split-complementary
#8B3BD6 #D3D63B #3BD63D
monochromatic
#4D1A7D #6C25AF #8B3BD6 #A96EE1 #C7A0EB

Accessibility & contrast

On white

5.68
#8B3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8B3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BD6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BD6#FFFFFF#000000##FFFFFF
##8B3BD61.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#7C6185
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b3bd6;
/* rgb */ color: rgb(139, 59, 214);
/* oklch */ color: oklch(54.0% 0.224 303.0);
Tailwind
colors: {
  custom: {
    50: '#b378e4',
    500: '#8b3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bd6;
$custom-light: #b378e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bd6",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 270.968,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.22366,
    "h": 303
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#8B3BD6
secondary
#B5D895
accent
#E83F91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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