#8A4285#8A4285

#8A4285 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.6% C 0.131 H 330.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8A4285
RGBrgb(138, 66, 133)
HSLhsl(304, 35%, 40%)
HSVhsv(304, 52%, 54%)
CMYKcmyk(0%, 52.2%, 3.6%, 45.9%)
CIE-LABlab(39.57, 40.31, -24.04)
CIE-LCHlch(39.57, 46.93, 329.19°)
OKLaboklab(49.57% 0.1138 -0.0657)
OKLCHoklch(49.57% 0.131 330)
XYZxyz(16.6629, 10.9942, 23.4302)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4285 #428A47
analogous
#6B428A #8A4285 #8A4261
triadic
#8A4285 #858A42 #42858A
tetradic
#8A4285 #8A6B42 #428A47 #42618A
square
#8A4285 #8A6B42 #428A47 #42618A
split-complementary
#8A4285 #618A42 #428A6B
monochromatic
#371A35 #612E5D #8A4285 #B059AA #C483BF

Accessibility & contrast

On white

6.57
#8A4285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A4285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4285
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4285#FFFFFF#000000##FFFFFF
##8A42851.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5787
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#8F485D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4285;
/* rgb */ color: rgb(138, 66, 133);
/* oklch */ color: oklch(49.6% 0.131 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae7aa8',
    500: '#8a4285',
    950: '#000000',
  },
}
SCSS
$custom: #8a4285;
$custom-light: #ae7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4285",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 304.167,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.13141,
    "h": 330
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#8A4285
secondary
#79AE7D
accent
#CB645C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4285

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

Preview Lab → · Contrast checker → · Palette generator →

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