#8A43A2#8A43A2

#8A43A2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.3% C 0.159 H 316.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A43A2
RGBrgb(138, 67, 162)
HSLhsl(285, 41%, 45%)
HSVhsv(285, 59%, 64%)
CMYKcmyk(14.8%, 58.6%, 0%, 36.5%)
CIE-LABlab(41.26, 45.59, -38.93)
CIE-LCHlch(41.26, 59.95, 319.51°)
OKLaboklab(51.3% 0.1157 -0.1087)
OKLCHoklch(51.3% 0.159 316.8)
XYZxyz(19.0090, 12.0269, 35.4955)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43A2 #5BA243
analogous
#5A43A2 #8A43A2 #A2438B
triadic
#8A43A2 #A28A43 #43A28A
tetradic
#8A43A2 #A25A43 #5BA243 #438BA2
square
#8A43A2 #A25A43 #5BA243 #438BA2
split-complementary
#8A43A2 #8BA243 #43A25A
monochromatic
#401F4B #653177 #8A43A2 #A864BF #C08FD1

Accessibility & contrast

On white

6.17
#8A43A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A43A2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43A2#FFFFFF#000000##FFFFFF
##8A43A21.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#4563A0
Tritanopia (blue-blind)
#89536C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a43a2;
/* rgb */ color: rgb(138, 67, 162);
/* oklch */ color: oklch(51.3% 0.159 316.8);
Tailwind
colors: {
  custom: {
    50: '#af7bbe',
    500: '#8a43a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a43a2;
$custom-light: #af7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43a2",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 284.842,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.15877,
    "h": 316.8
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#8A43A2
secondary
#93BC85
accent
#D15676
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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