#8A43A3#8A43A3

#8A43A3 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.4% C 0.160 H 316.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A43A3
RGBrgb(138, 67, 163)
HSLhsl(284, 42%, 45%)
HSVhsv(284, 59%, 64%)
CMYKcmyk(15.3%, 58.9%, 0%, 36.1%)
CIE-LABlab(41.32, 45.81, -39.43)
CIE-LCHlch(41.32, 60.44, 319.28°)
OKLaboklab(51.36% 0.1158 -0.1102)
OKLCHoklch(51.36% 0.16 316.4)
XYZxyz(19.0983, 12.0626, 35.9655)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43A3 #5CA343
analogous
#5A43A3 #8A43A3 #A3438C
triadic
#8A43A3 #A38A43 #43A38A
tetradic
#8A43A3 #A35A43 #5CA343 #438CA3
square
#8A43A3 #A35A43 #5CA343 #438CA3
split-complementary
#8A43A3 #8CA343 #43A35A
monochromatic
#411F4C #653178 #8A43A3 #A764BF #C08FD1

Accessibility & contrast

On white

6.15
#8A43A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A43A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43A3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43A3#FFFFFF#000000##FFFFFF
##8A43A31.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#89536C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a43a3;
/* rgb */ color: rgb(138, 67, 163);
/* oklch */ color: oklch(51.4% 0.160 316.4);
Tailwind
colors: {
  custom: {
    50: '#af7bbf',
    500: '#8a43a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a43a3;
$custom-light: #af7bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43a3",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 284.375,
    "s": 41.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51357,
    "c": 0.15983,
    "h": 316.4
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#8A43A3
secondary
#94BC85
accent
#D25676
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A43A3

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

Preview Lab → · Contrast checker → · Palette generator →

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