#8A44B6#8A44B6

#8A44B6 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.179 H 309.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A44B6
RGBrgb(138, 68, 182)
HSLhsl(277, 46%, 49%)
HSVhsv(277, 63%, 71%)
CMYKcmyk(24.2%, 62.6%, 0%, 28.6%)
CIE-LABlab(42.64, 49.49, -48.58)
CIE-LCHlch(42.64, 69.34, 315.53°)
OKLaboklab(52.68% 0.1146 -0.1369)
OKLCHoklch(52.68% 0.179 309.9)
XYZxyz(20.9902, 12.9153, 45.6341)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44B6 #70B644
analogous
#5144B6 #8A44B6 #B644A9
triadic
#8A44B6 #B68A44 #44B68A
tetradic
#8A44B6 #B65144 #70B644 #44A9B6
square
#8A44B6 #B65144 #70B644 #44A9B6
split-complementary
#8A44B6 #A9B644 #44B651
monochromatic
#46235D #683389 #8A44B6 #A66EC9 #C19BDA

Accessibility & contrast

On white

5.86
#8A44B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8A44B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44B6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44B6#FFFFFF#000000##FFFFFF
##8A44B61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C62BA
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#845A77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a44b6;
/* rgb */ color: rgb(138, 68, 182);
/* oklch */ color: oklch(52.7% 0.179 309.9);
Tailwind
colors: {
  custom: {
    50: '#af7ccc',
    500: '#8a44b6',
    950: '#000000',
  },
}
SCSS
$custom: #8a44b6;
$custom-light: #af7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44b6",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 182
  },
  "hsl": {
    "h": 276.842,
    "s": 45.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.17857,
    "h": 309.9
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#8A44B6
secondary
#A5C690
accent
#D55385
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A44B6

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

Preview Lab → · Contrast checker → · Palette generator →

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