#8A448B#8A448B

#8A448B is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.2% C 0.134 H 326.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A448B
RGBrgb(138, 68, 139)
HSLhsl(299, 34%, 41%)
HSVhsv(299, 51%, 55%)
CMYKcmyk(0.7%, 51.1%, 0%, 45.5%)
CIE-LABlab(40.25, 40.40, -26.64)
CIE-LCHlch(40.25, 48.39, 326.60°)
OKLaboklab(50.17% 0.1119 -0.0732)
OKLCHoklch(50.17% 0.134 326.8)
XYZxyz(17.2082, 11.4025, 25.7156)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A448B #458B44
analogous
#66448B #8A448B #8B4468
triadic
#8A448B #8B8A44 #448B8A
tetradic
#8A448B #8B6644 #458B44 #44688B
square
#8A448B #8B6644 #458B44 #44688B
split-complementary
#8A448B #688B44 #448B66
monochromatic
#381C39 #613062 #8A448B #AE5DB0 #C386C4

Accessibility & contrast

On white

6.40
#8A448B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A448B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A448B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A448B#FFFFFF#000000##FFFFFF
##8A448B1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a448b;
/* rgb */ color: rgb(138, 68, 139);
/* oklch */ color: oklch(50.2% 0.134 326.8);
Tailwind
colors: {
  custom: {
    50: '#ae7bad',
    500: '#8a448b',
    950: '#000000',
  },
}
SCSS
$custom: #8a448b;
$custom-light: #ae7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a448b",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 139
  },
  "hsl": {
    "h": 299.155,
    "s": 34.3,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.13369,
    "h": 326.8
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#8A448B
secondary
#7DAF7C
accent
#CA5D5F
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A448B

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

Preview Lab → · Contrast checker → · Palette generator →

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