#8A4BB3#8A4BB3

#8A4BB3 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.165 H 309.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A4BB3
RGBrgb(138, 75, 179)
HSLhsl(276, 41%, 50%)
HSVhsv(276, 58%, 70%)
CMYKcmyk(22.9%, 58.1%, 0%, 29.8%)
CIE-LABlab(43.79, 45.21, -44.97)
CIE-LCHlch(43.79, 63.77, 315.15°)
OKLaboklab(53.46% 0.1058 -0.1264)
OKLCHoklch(53.46% 0.165 309.9)
XYZxyz(21.1324, 13.6905, 44.1684)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BB3 #74B34B
analogous
#564BB3 #8A4BB3 #B34BA8
triadic
#8A4BB3 #B38A4B #4BB38A
tetradic
#8A4BB3 #B3564B #74B34B #4BA8B3
square
#8A4BB3 #B3564B #74B34B #4BA8B3
split-complementary
#8A4BB3 #A8B34B #4BB356
monochromatic
#47275D #693988 #8A4BB3 #A676C5 #C2A1D8

Accessibility & contrast

On white

5.62
#8A4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A4BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BB3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BB3#FFFFFF#000000##FFFFFF
##8A4BB31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#4069B0
Tritanopia (blue-blind)
#855E78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4bb3;
/* rgb */ color: rgb(138, 75, 179);
/* oklch */ color: oklch(53.5% 0.165 309.9);
Tailwind
colors: {
  custom: {
    50: '#af80ca',
    500: '#8a4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bb3;
$custom-light: #af80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bb3",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 276.346,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.16482,
    "h": 309.9
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#8A4BB3
secondary
#A8C495
accent
#D15787
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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