#8B2AC1#8B2AC1

#8B2AC1 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.221 H 309.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8B2AC1
RGBrgb(139, 42, 193)
HSLhsl(279, 64%, 46%)
HSVhsv(279, 78%, 76%)
CMYKcmyk(28%, 78.2%, 0%, 24.3%)
CIE-LABlab(39.57, 63.21, -59.96)
CIE-LCHlch(39.57, 87.13, 316.51°)
OKLaboklab(50.77% 0.1412 -0.1702)
OKLCHoklch(50.77% 0.221 309.7)
XYZxyz(21.0991, 10.9956, 51.4526)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AC1 #60C12A
analogous
#3F2AC1 #8B2AC1 #C12AAB
triadic
#8B2AC1 #C18B2A #2AC18B
tetradic
#8B2AC1 #C13F2A #60C12A #2AABC1
square
#8B2AC1 #C13F2A #60C12A #2AABC1
split-complementary
#8B2AC1 #ABC12A #2AC13F
monochromatic
#43145C #671F8F #8B2AC1 #A84FD9 #C182E4

Accessibility & contrast

On white

6.56
#8B2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8B2AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AC1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AC1#FFFFFF#000000##FFFFFF
##8B2AC11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#835075
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2ac1;
/* rgb */ color: rgb(139, 42, 193);
/* oklch */ color: oklch(50.8% 0.221 309.7);
Tailwind
colors: {
  custom: {
    50: '#b26fd5',
    500: '#8b2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ac1;
$custom-light: #b26fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ac1",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 278.543,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.22114,
    "h": 309.7
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#8B2AC1
secondary
#98CD7A
accent
#E7417C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8B2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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