#8A4085#8A4085

#8A4085 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.3% C 0.135 H 330.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A4085
RGBrgb(138, 64, 133)
HSLhsl(304, 37%, 40%)
HSVhsv(304, 54%, 54%)
CMYKcmyk(0%, 53.6%, 3.6%, 45.9%)
CIE-LABlab(39.18, 41.35, -24.64)
CIE-LCHlch(39.18, 48.13, 329.20°)
OKLaboklab(49.28% 0.1168 -0.0674)
OKLCHoklch(49.28% 0.135 330)
XYZxyz(16.5481, 10.7645, 23.3919)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4085 #408A45
analogous
#6A408A #8A4085 #8A4060
triadic
#8A4085 #858A40 #40858A
tetradic
#8A4085 #8A6A40 #408A45 #40608A
square
#8A4085 #8A6A40 #408A45 #40608A
split-complementary
#8A4085 #608A40 #408A6A
monochromatic
#361934 #602D5D #8A4085 #B156AB #C480C0

Accessibility & contrast

On white

6.66
#8A4085 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A4085 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4085
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4085#FFFFFF#000000##FFFFFF
##8A40851.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5687
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#8F475C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4085;
/* rgb */ color: rgb(138, 64, 133);
/* oklch */ color: oklch(49.3% 0.135 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae78a8',
    500: '#8a4085',
    950: '#000000',
  },
}
SCSS
$custom: #8a4085;
$custom-light: #ae78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4085",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 304.054,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.13482,
    "h": 330
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#8A4085
secondary
#77AF7B
accent
#CD635B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A4085

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

Preview Lab → · Contrast checker → · Palette generator →

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