#8A43A5#8A43A5

#8A43A5 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.5% C 0.162 H 315.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A43A5
RGBrgb(138, 67, 165)
HSLhsl(283, 42%, 45%)
HSVhsv(283, 59%, 65%)
CMYKcmyk(16.4%, 59.4%, 0%, 35.3%)
CIE-LABlab(41.43, 46.24, -40.44)
CIE-LCHlch(41.43, 61.43, 318.82°)
OKLaboklab(51.48% 0.1159 -0.1131)
OKLCHoklch(51.48% 0.162 315.7)
XYZxyz(19.2789, 12.1348, 36.9167)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43A5 #5EA543
analogous
#5943A5 #8A43A5 #A5438F
triadic
#8A43A5 #A58A43 #43A58A
tetradic
#8A43A5 #A55943 #5EA543 #438FA5
square
#8A43A5 #A55943 #5EA543 #438FA5
split-complementary
#8A43A5 #8FA543 #43A559
monochromatic
#41204E #663179 #8A43A5 #A765C0 #C090D2

Accessibility & contrast

On white

6.13
#8A43A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A43A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43A5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43A5#FFFFFF#000000##FFFFFF
##8A43A51.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#88546D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a43a5;
/* rgb */ color: rgb(138, 67, 165);
/* oklch */ color: oklch(51.5% 0.162 315.7);
Tailwind
colors: {
  custom: {
    50: '#af7bc0',
    500: '#8a43a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a43a5;
$custom-light: #af7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43a5",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 165
  },
  "hsl": {
    "h": 283.469,
    "s": 42.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.16193,
    "h": 315.7
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#8A43A5
secondary
#96BD86
accent
#D25678
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A43A5

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

Preview Lab → · Contrast checker → · Palette generator →

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