#8A44BA#8A44BA

#8A44BA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.183 H 308.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A44BA
RGBrgb(138, 68, 186)
HSLhsl(276, 46%, 50%)
HSVhsv(276, 63%, 73%)
CMYKcmyk(25.8%, 63.4%, 0%, 27.1%)
CIE-LABlab(42.89, 50.40, -50.52)
CIE-LCHlch(42.89, 71.36, 314.93°)
OKLaboklab(52.95% 0.1145 -0.1426)
OKLCHoklch(52.95% 0.183 308.7)
XYZxyz(21.4095, 13.0830, 47.8423)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44BA #74BA44
analogous
#4F44BA #8A44BA #BA44AF
triadic
#8A44BA #BA8A44 #44BA8A
tetradic
#8A44BA #BA4F44 #74BA44 #44AFBA
square
#8A44BA #BA4F44 #74BA44 #44AFBA
split-complementary
#8A44BA #AFBA44 #44BA4F
monochromatic
#472360 #69348D #8A44BA #A670CB #C29DDB

Accessibility & contrast

On white

5.81
#8A44BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8A44BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44BA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44BA#FFFFFF#000000##FFFFFF
##8A44BA1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#835C79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a44ba;
/* rgb */ color: rgb(138, 68, 186);
/* oklch */ color: oklch(52.9% 0.183 308.7);
Tailwind
colors: {
  custom: {
    50: '#b07ccf',
    500: '#8a44ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a44ba;
$custom-light: #b07ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44ba",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 186
  },
  "hsl": {
    "h": 275.593,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.18288,
    "h": 308.7
  },
  "luminance": 0.13083
}

Semantic roles & 50–950 ramp

primary
#8A44BA
secondary
#A8C892
accent
#D65288
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A44BA

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

Preview Lab → · Contrast checker → · Palette generator →

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