#8B2AC0#8B2AC0

#8B2AC0 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.220 H 310.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8B2AC0
RGBrgb(139, 42, 192)
HSLhsl(279, 64%, 46%)
HSVhsv(279, 78%, 75%)
CMYKcmyk(27.6%, 78.1%, 0%, 24.7%)
CIE-LABlab(39.50, 63.00, -59.50)
CIE-LCHlch(39.50, 86.66, 316.64°)
OKLaboklab(50.69% 0.1414 -0.1688)
OKLCHoklch(50.69% 0.22 310)
XYZxyz(20.9880, 10.9511, 50.8671)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AC0 #5FC02A
analogous
#402AC0 #8B2AC0 #C02AAA
triadic
#8B2AC0 #C08B2A #2AC08B
tetradic
#8B2AC0 #C0402A #5FC02A #2AAAC0
square
#8B2AC0 #C0402A #5FC02A #2AAAC0
split-complementary
#8B2AC0 #AAC02A #2AC040
monochromatic
#42145C #671F8E #8B2AC0 #A84FD8 #C181E3

Accessibility & contrast

On white

6.58
#8B2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8B2AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AC0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AC0#FFFFFF#000000##FFFFFF
##8B2AC01.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#834F75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2ac0;
/* rgb */ color: rgb(139, 42, 192);
/* oklch */ color: oklch(50.7% 0.220 310.0);
Tailwind
colors: {
  custom: {
    50: '#b26fd4',
    500: '#8b2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ac0;
$custom-light: #b26fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ac0",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 278.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50691,
    "c": 0.22023,
    "h": 310
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#8B2AC0
secondary
#97CC7A
accent
#E7417B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8B2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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