#8A448C#8A448C

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

Color values

HEX#8A448C
RGBrgb(138, 68, 140)
HSLhsl(298, 35%, 41%)
HSVhsv(298, 51%, 55%)
CMYKcmyk(1.4%, 51.4%, 0%, 45.1%)
CIE-LABlab(40.30, 40.59, -27.18)
CIE-LCHlch(40.30, 48.85, 326.20°)
OKLaboklab(50.22% 0.1121 -0.0747)
OKLCHoklch(50.22% 0.135 326.3)
XYZxyz(17.2816, 11.4319, 26.1022)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A448C #468C44
analogous
#66448C #8A448C #8C446A
triadic
#8A448C #8C8A44 #448C8A
tetradic
#8A448C #8C6644 #468C44 #446A8C
square
#8A448C #8C6644 #468C44 #446A8C
split-complementary
#8A448C #6A8C44 #448C66
monochromatic
#391C3A #613063 #8A448C #AE5DB0 #C386C4

Accessibility & contrast

On white

6.39
#8A448C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A448C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A448C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A448C#FFFFFF#000000##FFFFFF
##8A448C1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598E
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#8D4C62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a448c;
/* rgb */ color: rgb(138, 68, 140);
/* oklch */ color: oklch(50.2% 0.135 326.3);
Tailwind
colors: {
  custom: {
    50: '#ae7bae',
    500: '#8a448c',
    950: '#000000',
  },
}
SCSS
$custom: #8a448c;
$custom-light: #ae7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a448c",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 140
  },
  "hsl": {
    "h": 298.333,
    "s": 34.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.13467,
    "h": 326.3
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#8A448C
secondary
#7EAF7C
accent
#CB5D60
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A448C

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

Preview Lab → · Contrast checker → · Palette generator →

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