#8B3DD6#8B3DD6

#8B3DD6 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.221 H 302.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8B3DD6
RGBrgb(139, 61, 214)
HSLhsl(271, 65%, 54%)
HSVhsv(271, 71%, 84%)
CMYKcmyk(35%, 71.5%, 0%, 16.1%)
CIE-LABlab(43.77, 60.36, -65.31)
CIE-LCHlch(43.77, 88.93, 312.74°)
OKLaboklab(54.22% 0.1201 -0.186)
OKLCHoklch(54.22% 0.221 302.8)
XYZxyz(24.4509, 13.6815, 64.9579)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DD6 #88D63D
analogous
#3F3DD6 #8B3DD6 #D63DD5
triadic
#8B3DD6 #D68B3D #3DD68B
tetradic
#8B3DD6 #D63F3D #88D63D #3DD5D6
square
#8B3DD6 #D63F3D #88D63D #3DD5D6
split-complementary
#8B3DD6 #D5D63D #3DD63F
monochromatic
#4D1B7E #6C25B1 #8B3DD6 #A970E1 #C7A2EB

Accessibility & contrast

On white

5.62
#8B3DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8B3DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DD6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DD6#FFFFFF#000000##FFFFFF
##8B3DD61.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b3dd6;
/* rgb */ color: rgb(139, 61, 214);
/* oklch */ color: oklch(54.2% 0.221 302.8);
Tailwind
colors: {
  custom: {
    50: '#b379e4',
    500: '#8b3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dd6;
$custom-light: #b379e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dd6",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 270.588,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.22141,
    "h": 302.8
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#8B3DD6
secondary
#B7D897
accent
#E84092
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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