#8A44B1#8A44B1

#8A44B1 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.173 H 311.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A44B1
RGBrgb(138, 68, 177)
HSLhsl(279, 44%, 48%)
HSVhsv(279, 62%, 69%)
CMYKcmyk(22%, 61.6%, 0%, 30.6%)
CIE-LABlab(42.33, 48.36, -46.13)
CIE-LCHlch(42.33, 66.83, 316.35°)
OKLaboklab(52.36% 0.1147 -0.1298)
OKLCHoklch(52.36% 0.173 311.5)
XYZxyz(20.4827, 12.7123, 42.9612)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44B1 #6BB144
analogous
#5344B1 #8A44B1 #B144A1
triadic
#8A44B1 #B18A44 #44B18A
tetradic
#8A44B1 #B15344 #6BB144 #44A1B1
square
#8A44B1 #B15344 #6BB144 #44A1B1
split-complementary
#8A44B1 #A1B144 #44B153
monochromatic
#452259 #683385 #8A44B1 #A66CC6 #C198D7

Accessibility & contrast

On white

5.93
#8A44B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A44B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44B1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44B1#FFFFFF#000000##FFFFFF
##8A44B11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1960B4
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#855974
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a44b1;
/* rgb */ color: rgb(138, 68, 177);
/* oklch */ color: oklch(52.4% 0.173 311.5);
Tailwind
colors: {
  custom: {
    50: '#af7cc9',
    500: '#8a44b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a44b1;
$custom-light: #af7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44b1",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 177
  },
  "hsl": {
    "h": 278.532,
    "s": 44.49,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.17319,
    "h": 311.5
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#8A44B1
secondary
#A1C38D
accent
#D45482
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A44B1

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

Preview Lab → · Contrast checker → · Palette generator →

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