#8A43BA#8A43BA

#8A43BA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.184 H 308.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A43BA
RGBrgb(138, 67, 186)
HSLhsl(276, 47%, 50%)
HSVhsv(276, 64%, 73%)
CMYKcmyk(25.8%, 64%, 0%, 27.1%)
CIE-LABlab(42.71, 50.89, -50.81)
CIE-LCHlch(42.71, 71.91, 315.05°)
OKLaboklab(52.82% 0.1157 -0.1435)
OKLCHoklch(52.82% 0.184 308.9)
XYZxyz(21.3495, 12.9631, 47.8223)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43BA #73BA43
analogous
#4E43BA #8A43BA #BA43AF
triadic
#8A43BA #BA8A43 #43BA8A
tetradic
#8A43BA #BA4E43 #73BA43 #43AFBA
square
#8A43BA #BA4E43 #73BA43 #43AFBA
split-complementary
#8A43BA #AFBA43 #43BA4E
monochromatic
#472360 #69338D #8A43BA #A66FCB #C29CDB

Accessibility & contrast

On white

5.85
#8A43BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A43BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43BA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43BA#FFFFFF#000000##FFFFFF
##8A43BA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3066B7
Tritanopia (blue-blind)
#835B78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a43ba;
/* rgb */ color: rgb(138, 67, 186);
/* oklch */ color: oklch(52.8% 0.184 308.9);
Tailwind
colors: {
  custom: {
    50: '#b07bcf',
    500: '#8a43ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a43ba;
$custom-light: #b07bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43ba",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 275.798,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.18429,
    "h": 308.9
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#8A43BA
secondary
#A7C891
accent
#D75187
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A43BA

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

Preview Lab → · Contrast checker → · Palette generator →

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