#8A46A4#8A46A4

#8A46A4 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.8% C 0.156 H 315.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A46A4
RGBrgb(138, 70, 164)
HSLhsl(283, 40%, 46%)
HSVhsv(283, 57%, 64%)
CMYKcmyk(15.9%, 57.3%, 0%, 35.7%)
CIE-LABlab(41.95, 44.48, -39.03)
CIE-LCHlch(41.95, 59.18, 318.74°)
OKLaboklab(51.84% 0.1118 -0.109)
OKLCHoklch(51.84% 0.156 315.7)
XYZxyz(19.3712, 12.4646, 36.5002)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46A4 #60A446
analogous
#5B46A4 #8A46A4 #A4468F
triadic
#8A46A4 #A48A46 #46A48A
tetradic
#8A46A4 #A45B46 #60A446 #468FA4
square
#8A46A4 #A45B46 #60A446 #468FA4
split-complementary
#8A46A4 #8FA446 #46A45B
monochromatic
#42214E #663479 #8A46A4 #A768BF #C093D1

Accessibility & contrast

On white

6.01
#8A46A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A46A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46A4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46A4#FFFFFF#000000##FFFFFF
##8A46A41.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#88556E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a46a4;
/* rgb */ color: rgb(138, 70, 164);
/* oklch */ color: oklch(51.8% 0.156 315.7);
Tailwind
colors: {
  custom: {
    50: '#af7dbf',
    500: '#8a46a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a46a4;
$custom-light: #af7dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46a4",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 283.404,
    "s": 40.171,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.15616,
    "h": 315.7
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#8A46A4
secondary
#97BD89
accent
#D05879
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A46A4

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

Preview Lab → · Contrast checker → · Palette generator →

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