#8A46A5#8A46A5

#8A46A5 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.9% C 0.157 H 315.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A46A5
RGBrgb(138, 70, 165)
HSLhsl(283, 40%, 46%)
HSVhsv(283, 58%, 65%)
CMYKcmyk(16.4%, 57.6%, 0%, 35.3%)
CIE-LABlab(42.00, 44.70, -39.53)
CIE-LCHlch(42.00, 59.67, 318.51°)
OKLaboklab(51.9% 0.1119 -0.1105)
OKLCHoklch(51.9% 0.157 315.3)
XYZxyz(19.4619, 12.5008, 36.9777)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46A5 #61A546
analogous
#5A46A5 #8A46A5 #A54690
triadic
#8A46A5 #A58A46 #46A58A
tetradic
#8A46A5 #A55A46 #61A546 #4690A5
square
#8A46A5 #A55A46 #61A546 #4690A5
split-complementary
#8A46A5 #90A546 #46A55A
monochromatic
#42224F #66347A #8A46A5 #A769BF #C094D2

Accessibility & contrast

On white

6.00
#8A46A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A46A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46A5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46A5#FFFFFF#000000##FFFFFF
##8A46A51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#88566F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a46a5;
/* rgb */ color: rgb(138, 70, 165);
/* oklch */ color: oklch(51.9% 0.157 315.3);
Tailwind
colors: {
  custom: {
    50: '#af7dc0',
    500: '#8a46a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a46a5;
$custom-light: #af7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46a5",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 282.947,
    "s": 40.426,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.15724,
    "h": 315.3
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#8A46A5
secondary
#98BD89
accent
#D0587A
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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