#8A3BB5#8A3BB5

#8A3BB5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.190 H 311.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A3BB5
RGBrgb(138, 59, 181)
HSLhsl(279, 51%, 47%)
HSVhsv(279, 67%, 71%)
CMYKcmyk(23.8%, 67.4%, 0%, 29%)
CIE-LABlab(41.01, 53.57, -50.61)
CIE-LCHlch(41.01, 73.70, 316.63°)
OKLaboklab(51.49% 0.1252 -0.1428)
OKLCHoklch(51.49% 0.19 311.2)
XYZxyz(20.3841, 11.8679, 44.9240)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BB5 #66B53B
analogous
#4D3BB5 #8A3BB5 #B53BA3
triadic
#8A3BB5 #B58A3B #3BB58A
tetradic
#8A3BB5 #B54D3B #66B53B #3BA3B5
square
#8A3BB5 #B54D3B #66B53B #3BA3B5
split-complementary
#8A3BB5 #A3B53B #3BB54D
monochromatic
#441D59 #672C87 #8A3BB5 #A662CC #C090DB

Accessibility & contrast

On white

6.23
#8A3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BB5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BB5#FFFFFF#000000##FFFFFF
##8A3BB51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#2C62B2
Tritanopia (blue-blind)
#855473
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a3bb5;
/* rgb */ color: rgb(138, 59, 181);
/* oklch */ color: oklch(51.5% 0.190 311.2);
Tailwind
colors: {
  custom: {
    50: '#b077cc',
    500: '#8a3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bb5;
$custom-light: #b077cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bb5",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 278.852,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.18996,
    "h": 311.2
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#8A3BB5
secondary
#9DC686
accent
#DA4D7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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