#8A43BC#8A43BC

#8A43BC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.186 H 308.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A43BC
RGBrgb(138, 67, 188)
HSLhsl(275, 47%, 50%)
HSVhsv(275, 64%, 74%)
CMYKcmyk(26.6%, 64.4%, 0%, 26.3%)
CIE-LABlab(42.84, 51.35, -51.77)
CIE-LCHlch(42.84, 72.91, 314.76°)
OKLaboklab(52.95% 0.1155 -0.1463)
OKLCHoklch(52.95% 0.186 308.3)
XYZxyz(21.5636, 13.0488, 48.9499)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43BC #75BC43
analogous
#4E43BC #8A43BC #BC43B1
triadic
#8A43BC #BC8A43 #43BC8A
tetradic
#8A43BC #BC4E43 #75BC43 #43B1BC
square
#8A43BC #BC4E43 #75BC43 #43B1BC
split-complementary
#8A43BC #B1BC43 #43BC4E
monochromatic
#482362 #69338F #8A43BC #A670CC #C29DDC

Accessibility & contrast

On white

5.82
#8A43BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8A43BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43BC#FFFFFF#000000##FFFFFF
##8A43BC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#825C79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a43bc;
/* rgb */ color: rgb(138, 67, 188);
/* oklch */ color: oklch(52.9% 0.186 308.3);
Tailwind
colors: {
  custom: {
    50: '#b07cd1',
    500: '#8a43bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a43bc;
$custom-light: #b07cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43bc",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 275.207,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.5295,
    "c": 0.18642,
    "h": 308.3
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#8A43BC
secondary
#A9C992
accent
#D75188
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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