#8B3AC8#8B3AC8

#8B3AC8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.211 H 306.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8B3AC8
RGBrgb(139, 58, 200)
HSLhsl(274, 56%, 51%)
HSVhsv(274, 71%, 78%)
CMYKcmyk(30.5%, 71%, 0%, 21.6%)
CIE-LABlab(42.29, 58.46, -59.64)
CIE-LCHlch(42.29, 83.51, 314.42°)
OKLaboklab(52.84% 0.1254 -0.1694)
OKLCHoklch(52.84% 0.211 306.5)
XYZxyz(22.5836, 12.6854, 55.8912)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AC8 #77C83A
analogous
#443AC8 #8B3AC8 #C83ABE
triadic
#8B3AC8 #C88B3A #3AC88B
tetradic
#8B3AC8 #C8443A #77C83A #3ABEC8
square
#8B3AC8 #C8443A #77C83A #3ABEC8
split-complementary
#8B3AC8 #BEC83A #3AC844
monochromatic
#491E6A #6A2B9A #8B3AC8 #A76AD5 #C39AE3

Accessibility & contrast

On white

5.94
#8B3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8B3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AC8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AC8#FFFFFF#000000##FFFFFF
##8B3AC81.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#805B7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3ac8;
/* rgb */ color: rgb(139, 58, 200);
/* oklch */ color: oklch(52.8% 0.211 306.5);
Tailwind
colors: {
  custom: {
    50: '#b277da',
    500: '#8b3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ac8;
$custom-light: #b277da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ac8",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 274.225,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.2107,
    "h": 306.5
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#8B3AC8
secondary
#AACE8F
accent
#E04889
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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