#8A44B5#8A44B5

#8A44B5 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.177 H 310.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A44B5
RGBrgb(138, 68, 181)
HSLhsl(277, 45%, 49%)
HSVhsv(277, 62%, 71%)
CMYKcmyk(23.8%, 62.4%, 0%, 29%)
CIE-LABlab(42.57, 49.26, -48.09)
CIE-LCHlch(42.57, 68.84, 315.69°)
OKLaboklab(52.62% 0.1146 -0.1355)
OKLCHoklch(52.62% 0.178 310.2)
XYZxyz(20.8873, 12.8741, 45.0917)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44B5 #6FB544
analogous
#5244B5 #8A44B5 #B544A8
triadic
#8A44B5 #B58A44 #44B58A
tetradic
#8A44B5 #B55244 #6FB544 #44A8B5
square
#8A44B5 #B55244 #6FB544 #44A8B5
split-complementary
#8A44B5 #A8B544 #44B552
monochromatic
#46235C #683389 #8A44B5 #A66EC8 #C19AD9

Accessibility & contrast

On white

5.87
#8A44B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A44B5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44B5#FFFFFF#000000##FFFFFF
##8A44B51.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F61B9
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#845A76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a44b5;
/* rgb */ color: rgb(138, 68, 181);
/* oklch */ color: oklch(52.6% 0.177 310.2);
Tailwind
colors: {
  custom: {
    50: '#af7ccc',
    500: '#8a44b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a44b5;
$custom-light: #af7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44b5",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 181
  },
  "hsl": {
    "h": 277.168,
    "s": 45.382,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.1775,
    "h": 310.2
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#8A44B5
secondary
#A4C590
accent
#D55384
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A44B5

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

Preview Lab → · Contrast checker → · Palette generator →

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