#8A43A7#8A43A7

#8A43A7 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.6% C 0.164 H 315.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A43A7
RGBrgb(138, 67, 167)
HSLhsl(283, 43%, 46%)
HSVhsv(283, 60%, 65%)
CMYKcmyk(17.4%, 59.9%, 0%, 34.5%)
CIE-LABlab(41.55, 46.67, -41.45)
CIE-LCHlch(41.55, 62.42, 318.39°)
OKLaboklab(51.6% 0.1159 -0.1161)
OKLCHoklch(51.6% 0.164 315)
XYZxyz(19.4623, 12.2082, 37.8829)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43A7 #60A743
analogous
#5843A7 #8A43A7 #A74392
triadic
#8A43A7 #A78A43 #43A78A
tetradic
#8A43A7 #A75843 #60A743 #4392A7
square
#8A43A7 #A75843 #60A743 #4392A7
split-complementary
#8A43A7 #92A743 #43A758
monochromatic
#422050 #66317B #8A43A7 #A766C1 #C091D3

Accessibility & contrast

On white

6.10
#8A43A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A43A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43A7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43A7#FFFFFF#000000##FFFFFF
##8A43A71.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#88546F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a43a7;
/* rgb */ color: rgb(138, 67, 167);
/* oklch */ color: oklch(51.6% 0.164 315.0);
Tailwind
colors: {
  custom: {
    50: '#af7bc2',
    500: '#8a43a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a43a7;
$custom-light: #af7bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43a7",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 282.6,
    "s": 42.735,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.16404,
    "h": 315
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#8A43A7
secondary
#97BE87
accent
#D3557A
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A43A7

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

Preview Lab → · Contrast checker → · Palette generator →

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