#8A3BB3#8A3BB3

#8A3BB3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.188 H 311.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8A3BB3
RGBrgb(138, 59, 179)
HSLhsl(280, 50%, 47%)
HSVhsv(280, 67%, 70%)
CMYKcmyk(22.9%, 67%, 0%, 29.8%)
CIE-LABlab(40.87, 53.14, -49.64)
CIE-LCHlch(40.87, 72.71, 316.95°)
OKLaboklab(51.35% 0.1254 -0.14)
OKLCHoklch(51.35% 0.188 311.8)
XYZxyz(20.1804, 11.7864, 43.8510)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BB3 #64B33B
analogous
#4E3BB3 #8A3BB3 #B33BA0
triadic
#8A3BB3 #B38A3B #3BB38A
tetradic
#8A3BB3 #B34E3B #64B33B #3BA0B3
square
#8A3BB3 #B34E3B #64B33B #3BA0B3
split-complementary
#8A3BB3 #A0B33B #3BB34E
monochromatic
#431D57 #672C85 #8A3BB3 #A660CB #C08EDA

Accessibility & contrast

On white

6.26
#8A3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BB3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BB3#FFFFFF#000000##FFFFFF
##8A3BB31.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#2F62B0
Tritanopia (blue-blind)
#855372
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a3bb3;
/* rgb */ color: rgb(138, 59, 179);
/* oklch */ color: oklch(51.4% 0.188 311.8);
Tailwind
colors: {
  custom: {
    50: '#b077ca',
    500: '#8a3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bb3;
$custom-light: #b077ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bb3",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 279.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.18794,
    "h": 311.8
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#8A3BB3
secondary
#9BC585
accent
#DA4E7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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