#8A448A#8A448A

#8A448A is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.1% C 0.133 H 327.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A448A
RGBrgb(138, 68, 138)
HSLhsl(300, 34%, 40%)
HSVhsv(300, 51%, 54%)
CMYKcmyk(0%, 50.7%, 0%, 45.9%)
CIE-LABlab(40.20, 40.21, -26.11)
CIE-LCHlch(40.20, 47.94, 327.00°)
OKLaboklab(50.11% 0.1117 -0.0716)
OKLCHoklch(50.11% 0.133 327.3)
XYZxyz(17.1355, 11.3734, 25.3325)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A448A #448A44
analogous
#67448A #8A448A #8A4467
triadic
#8A448A #8A8A44 #448A8A
tetradic
#8A448A #8A6744 #448A44 #44678A
square
#8A448A #8A6744 #448A44 #44678A
split-complementary
#8A448A #678A44 #448A67
monochromatic
#381C38 #613061 #8A448A #AF5CAF #C385C3

Accessibility & contrast

On white

6.41
#8A448A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A448A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A448A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A448A#FFFFFF#000000##FFFFFF
##8A448A1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#526288
Tritanopia (blue-blind)
#8E4C61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a448a;
/* rgb */ color: rgb(138, 68, 138);
/* oklch */ color: oklch(50.1% 0.133 327.3);
Tailwind
colors: {
  custom: {
    50: '#ae7bac',
    500: '#8a448a',
    950: '#000000',
  },
}
SCSS
$custom: #8a448a;
$custom-light: #ae7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a448a",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.13272,
    "h": 327.3
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#8A448A
secondary
#7CAE7C
accent
#CA5E5E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A448A

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

Preview Lab → · Contrast checker → · Palette generator →

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