#8B3ACD#8B3ACD

#8B3ACD is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.216 H 305.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8B3ACD
RGBrgb(139, 58, 205)
HSLhsl(273, 60%, 52%)
HSVhsv(273, 72%, 80%)
CMYKcmyk(32.2%, 71.7%, 0%, 19.6%)
CIE-LABlab(42.65, 59.59, -61.95)
CIE-LCHlch(42.65, 85.96, 313.88°)
OKLaboklab(53.21% 0.1245 -0.1761)
OKLCHoklch(53.21% 0.216 305.3)
XYZxyz(23.1775, 12.9230, 59.0191)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3ACD #7CCD3A
analogous
#423ACD #8B3ACD #CD3AC6
triadic
#8B3ACD #CD8B3A #3ACD8B
tetradic
#8B3ACD #CD423A #7CCD3A #3AC6CD
square
#8B3ACD #CD423A #7CCD3A #3AC6CD
split-complementary
#8B3ACD #C6CD3A #3ACD42
monochromatic
#4B1C70 #6B29A1 #8B3ACD #A86BD9 #C49CE6

Accessibility & contrast

On white

5.86
#8B3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8B3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3ACD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3ACD#FFFFFF#000000##FFFFFF
##8B3ACD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#7F5D80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3acd;
/* rgb */ color: rgb(139, 58, 205);
/* oklch */ color: oklch(53.2% 0.216 305.3);
Tailwind
colors: {
  custom: {
    50: '#b277dd',
    500: '#8b3acd',
    950: '#000000',
  },
}
SCSS
$custom: #8b3acd;
$custom-light: #b277dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3acd",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 273.061,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.21573,
    "h": 305.3
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#8B3ACD
secondary
#AED291
accent
#E3458C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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