#8A4685#8A4685

#8A4685 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.2% C 0.124 H 330.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A4685
RGBrgb(138, 70, 133)
HSLhsl(304, 33%, 41%)
HSVhsv(304, 49%, 54%)
CMYKcmyk(0%, 49.3%, 3.6%, 45.9%)
CIE-LABlab(40.37, 38.19, -22.79)
CIE-LCHlch(40.37, 44.48, 329.18°)
OKLaboklab(50.17% 0.1078 -0.0622)
OKLCHoklch(50.17% 0.124 330)
XYZxyz(16.9049, 11.4780, 23.5108)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4685 #468A4B
analogous
#6D468A #8A4685 #8A4663
triadic
#8A4685 #858A46 #46858A
tetradic
#8A4685 #8A6D46 #468A4B #46638A
square
#8A4685 #8A6D46 #468A4B #46638A
split-complementary
#8A4685 #638A46 #468A6D
monochromatic
#391D37 #61315E #8A4685 #AE5FA8 #C388BE

Accessibility & contrast

On white

6.37
#8A4685 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A4685 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4685
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4685#FFFFFF#000000##FFFFFF
##8A46851.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425987
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#8E4C5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4685;
/* rgb */ color: rgb(138, 70, 133);
/* oklch */ color: oklch(50.2% 0.124 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ca8',
    500: '#8a4685',
    950: '#000000',
  },
}
SCSS
$custom: #8a4685;
$custom-light: #ae7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4685",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 133
  },
  "hsl": {
    "h": 304.412,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.12443,
    "h": 330
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#8A4685
secondary
#7EAE81
accent
#C9675F
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4685

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

Preview Lab → · Contrast checker → · Palette generator →

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