#8A46A3#8A46A3

#8A46A3 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.8% C 0.155 H 316.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A46A3
RGBrgb(138, 70, 163)
HSLhsl(284, 40%, 46%)
HSVhsv(284, 57%, 64%)
CMYKcmyk(15.3%, 57.1%, 0%, 36.1%)
CIE-LABlab(41.89, 44.27, -38.52)
CIE-LCHlch(41.89, 58.68, 318.97°)
OKLaboklab(51.78% 0.1117 -0.1075)
OKLCHoklch(51.78% 0.155 316.1)
XYZxyz(19.2812, 12.4286, 36.0265)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46A3 #5FA346
analogous
#5B46A3 #8A46A3 #A3468D
triadic
#8A46A3 #A38A46 #46A38A
tetradic
#8A46A3 #A35B46 #5FA346 #468DA3
square
#8A46A3 #A35B46 #5FA346 #468DA3
split-complementary
#8A46A3 #8DA346 #46A35B
monochromatic
#42214D #663478 #8A46A3 #A768BE #C093D1

Accessibility & contrast

On white

6.02
#8A46A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A46A3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46A3#FFFFFF#000000##FFFFFF
##8A46A31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#89556E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a46a3;
/* rgb */ color: rgb(138, 70, 163);
/* oklch */ color: oklch(51.8% 0.155 316.1);
Tailwind
colors: {
  custom: {
    50: '#ae7dbf',
    500: '#8a46a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a46a3;
$custom-light: #ae7dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46a3",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 163
  },
  "hsl": {
    "h": 283.871,
    "s": 39.914,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.15509,
    "h": 316.1
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#8A46A3
secondary
#96BC89
accent
#D05878
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A46A3

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

Preview Lab → · Contrast checker → · Palette generator →

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