#8A3BB8#8A3BB8

#8A3BB8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.193 H 310.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A3BB8
RGBrgb(138, 59, 184)
HSLhsl(278, 51%, 48%)
HSVhsv(278, 68%, 72%)
CMYKcmyk(25%, 67.9%, 0%, 27.8%)
CIE-LABlab(41.20, 54.23, -52.05)
CIE-LCHlch(41.20, 75.17, 316.18°)
OKLaboklab(51.69% 0.125 -0.1471)
OKLCHoklch(51.69% 0.193 310.4)
XYZxyz(20.6953, 11.9923, 46.5627)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BB8 #69B83B
analogous
#4C3BB8 #8A3BB8 #B83BA7
triadic
#8A3BB8 #B88A3B #3BB88A
tetradic
#8A3BB8 #B84C3B #69B83B #3BA7B8
square
#8A3BB8 #B84C3B #69B83B #3BA7B8
split-complementary
#8A3BB8 #A7B83B #3BB84C
monochromatic
#441D5B #672C8A #8A3BB8 #A663CD #C192DC

Accessibility & contrast

On white

6.18
#8A3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A3BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BB8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BB8#FFFFFF#000000##FFFFFF
##8A3BB81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#2962B5
Tritanopia (blue-blind)
#845575
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a3bb8;
/* rgb */ color: rgb(138, 59, 184);
/* oklch */ color: oklch(51.7% 0.193 310.4);
Tailwind
colors: {
  custom: {
    50: '#b077ce',
    500: '#8a3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bb8;
$custom-light: #b077ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bb8",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 277.92,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.19301,
    "h": 310.4
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#8A3BB8
secondary
#9FC788
accent
#DB4D81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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