#8A4BB7#8A4BB7

#8A4BB7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.169 H 308.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A4BB7
RGBrgb(138, 75, 183)
HSLhsl(275, 43%, 51%)
HSVhsv(275, 59%, 72%)
CMYKcmyk(24.6%, 59%, 0%, 28.2%)
CIE-LABlab(44.02, 46.13, -46.94)
CIE-LCHlch(44.02, 65.81, 314.50°)
OKLaboklab(53.71% 0.1058 -0.1322)
OKLCHoklch(53.71% 0.169 308.7)
XYZxyz(21.5429, 13.8547, 46.3299)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BB7 #78B74B
analogous
#544BB7 #8A4BB7 #B74BAE
triadic
#8A4BB7 #B78A4B #4BB78A
tetradic
#8A4BB7 #B7544B #78B74B #4BAEB7
square
#8A4BB7 #B7544B #78B74B #4BAEB7
split-complementary
#8A4BB7 #AEB74B #4BB754
monochromatic
#492761 #69388D #8A4BB7 #A677C8 #C3A2DA

Accessibility & contrast

On white

5.57
#8A4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A4BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BB7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BB7#FFFFFF#000000##FFFFFF
##8A4BB71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265BA
Deuteranopia (green-blind)
#3D69B4
Tritanopia (blue-blind)
#845F7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4bb7;
/* rgb */ color: rgb(138, 75, 183);
/* oklch */ color: oklch(53.7% 0.169 308.7);
Tailwind
colors: {
  custom: {
    50: '#af80cd',
    500: '#8a4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bb7;
$custom-light: #af80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bb7",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 275,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.16932,
    "h": 308.7
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#8A4BB7
secondary
#ABC797
accent
#D35589
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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