#8A4688#8A4688

#8A4688 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.3% C 0.127 H 328.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A4688
RGBrgb(138, 70, 136)
HSLhsl(302, 33%, 41%)
HSVhsv(302, 49%, 54%)
CMYKcmyk(0%, 49.3%, 1.4%, 45.9%)
CIE-LABlab(40.51, 38.76, -24.41)
CIE-LCHlch(40.51, 45.81, 327.80°)
OKLaboklab(50.31% 0.1084 -0.0668)
OKLCHoklch(50.31% 0.127 328.4)
XYZxyz(17.1151, 11.5621, 24.6180)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4688 #468A48
analogous
#6A468A #8A4688 #8A4666
triadic
#8A4688 #888A46 #46888A
tetradic
#8A4688 #8A6A46 #468A48 #46668A
square
#8A4688 #8A6A46 #468A48 #46668A
split-complementary
#8A4688 #668A46 #468A6A
monochromatic
#391D38 #613160 #8A4688 #AE5FAC #C388C1

Accessibility & contrast

On white

6.34
#8A4688 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A4688 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4688
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4688#FFFFFF#000000##FFFFFF
##8A46881.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8A
Deuteranopia (green-blind)
#556386
Tritanopia (blue-blind)
#8E4D61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4688;
/* rgb */ color: rgb(138, 70, 136);
/* oklch */ color: oklch(50.3% 0.127 328.4);
Tailwind
colors: {
  custom: {
    50: '#ae7cab',
    500: '#8a4688',
    950: '#000000',
  },
}
SCSS
$custom: #8a4688;
$custom-light: #ae7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4688",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 301.765,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50312,
    "c": 0.1273,
    "h": 328.4
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#8A4688
secondary
#7EAE7F
accent
#C9625F
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4688

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

Preview Lab → · Contrast checker → · Palette generator →

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