#8A6284#8A6284

#8A6284 is a mid, moderate purple. Relative luminance 0.158; OKLCH L 54.9% C 0.071 H 331.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A6284
RGBrgb(138, 98, 132)
HSLhsl(309, 17%, 46%)
HSVhsv(309, 29%, 54%)
CMYKcmyk(0%, 29%, 4.3%, 45.9%)
CIE-LABlab(46.72, 22.09, -12.47)
CIE-LCHlch(46.72, 25.36, 330.56°)
OKLaboklab(54.93% 0.0624 -0.0334)
OKLCHoklch(54.93% 0.071 331.8)
XYZxyz(19.0135, 15.8053, 23.8745)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6284 #628A68
analogous
#7C628A #8A6284 #8A6270
triadic
#8A6284 #848A62 #62848A
tetradic
#8A6284 #8A7C62 #628A68 #62708A
square
#8A6284 #8A7C62 #628A68 #62708A
split-complementary
#8A6284 #708A62 #628A7C
monochromatic
#422F40 #664962 #8A6284 #A783A1 #C0A6BC

Accessibility & contrast

On white

5.05
#8A6284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8A6284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6284
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6284#FFFFFF#000000##FFFFFF
##8A62841.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616B85
Deuteranopia (green-blind)
#6B7183
Tritanopia (blue-blind)
#8E646E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a6284;
/* rgb */ color: rgb(138, 98, 132);
/* oklch */ color: oklch(54.9% 0.071 331.8);
Tailwind
colors: {
  custom: {
    50: '#ac8fa7',
    500: '#8a6284',
    950: '#000000',
  },
}
SCSS
$custom: #8a6284;
$custom-light: #ac8fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6284",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 132
  },
  "hsl": {
    "h": 309,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.07081,
    "h": 331.8
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#8A6284
secondary
#99AF9C
accent
#BA796E
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A6284

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

Preview Lab → · Contrast checker → · Palette generator →

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