#8A44B4#8A44B4

#8A44B4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.176 H 310.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A44B4
RGBrgb(138, 68, 180)
HSLhsl(278, 45%, 49%)
HSVhsv(278, 62%, 71%)
CMYKcmyk(23.3%, 62.2%, 0%, 29.4%)
CIE-LABlab(42.51, 49.03, -47.60)
CIE-LCHlch(42.51, 68.34, 315.85°)
OKLaboklab(52.55% 0.1147 -0.1341)
OKLCHoklch(52.55% 0.176 310.5)
XYZxyz(20.7850, 12.8332, 44.5533)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44B4 #6EB444
analogous
#5244B4 #8A44B4 #B444A6
triadic
#8A44B4 #B48A44 #44B48A
tetradic
#8A44B4 #B45244 #6EB444 #44A6B4
square
#8A44B4 #B45244 #6EB444 #44A6B4
split-complementary
#8A44B4 #A6B444 #44B452
monochromatic
#46225B #683388 #8A44B4 #A66DC8 #C19AD9

Accessibility & contrast

On white

5.89
#8A44B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A44B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44B4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44B4#FFFFFF#000000##FFFFFF
##8A44B41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#3866B1
Tritanopia (blue-blind)
#855A76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a44b4;
/* rgb */ color: rgb(138, 68, 180);
/* oklch */ color: oklch(52.6% 0.176 310.5);
Tailwind
colors: {
  custom: {
    50: '#af7ccb',
    500: '#8a44b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a44b4;
$custom-light: #af7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44b4",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 180
  },
  "hsl": {
    "h": 277.5,
    "s": 45.161,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.17642,
    "h": 310.5
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#8A44B4
secondary
#A3C58F
accent
#D55384
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A44B4

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

Preview Lab → · Contrast checker → · Palette generator →

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