#8B3BD2#8B3BD2

#8B3BD2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.220 H 304.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8B3BD2
RGBrgb(139, 59, 210)
HSLhsl(272, 63%, 53%)
HSVhsv(272, 72%, 82%)
CMYKcmyk(33.8%, 71.9%, 0%, 17.6%)
CIE-LABlab(43.17, 60.30, -63.99)
CIE-LCHlch(43.17, 87.93, 313.30°)
OKLaboklab(53.7% 0.1227 -0.1821)
OKLCHoklch(53.7% 0.22 304)
XYZxyz(23.8416, 13.2701, 62.2656)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BD2 #82D23B
analogous
#3F3BD2 #8B3BD2 #D23BCE
triadic
#8B3BD2 #D28B3B #3BD28B
tetradic
#8B3BD2 #D23F3B #82D23B #3BCED2
square
#8B3BD2 #D23F3B #82D23B #3BCED2
split-complementary
#8B3BD2 #CED23B #3BD23F
monochromatic
#4C1B77 #6C27A9 #8B3BD2 #A86DDD #C69FE9

Accessibility & contrast

On white

5.75
#8B3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8B3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BD2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BD2#FFFFFF#000000##FFFFFF
##8B3BD21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#7D5F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3bd2;
/* rgb */ color: rgb(139, 59, 210);
/* oklch */ color: oklch(53.7% 0.220 304.0);
Tailwind
colors: {
  custom: {
    50: '#b378e1',
    500: '#8b3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bd2;
$custom-light: #b378e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bd2",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 271.788,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.21962,
    "h": 304
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#8B3BD2
secondary
#B2D594
accent
#E6428F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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