#8A43BB#8A43BB

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

Color values

HEX#8A43BB
RGBrgb(138, 67, 187)
HSLhsl(276, 47%, 50%)
HSVhsv(276, 64%, 73%)
CMYKcmyk(26.2%, 64.2%, 0%, 26.7%)
CIE-LABlab(42.77, 51.12, -51.29)
CIE-LCHlch(42.77, 72.41, 314.90°)
OKLaboklab(52.88% 0.1156 -0.1449)
OKLCHoklch(52.88% 0.185 308.6)
XYZxyz(21.4562, 13.0058, 48.3841)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43BB #74BB43
analogous
#4E43BB #8A43BB #BB43B0
triadic
#8A43BB #BB8A43 #43BB8A
tetradic
#8A43BB #BB4E43 #74BB43 #43B0BB
square
#8A43BB #BB4E43 #74BB43 #43B0BB
split-complementary
#8A43BB #B0BB43 #43BB4E
monochromatic
#472361 #69338E #8A43BB #A670CC #C29DDC

Accessibility & contrast

On white

5.83
#8A43BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A43BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43BB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43BB#FFFFFF#000000##FFFFFF
##8A43BB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#835B79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a43bb;
/* rgb */ color: rgb(138, 67, 187);
/* oklch */ color: oklch(52.9% 0.185 308.6);
Tailwind
colors: {
  custom: {
    50: '#b07bd0',
    500: '#8a43bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a43bb;
$custom-light: #b07bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43bb",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 275.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.18535,
    "h": 308.6
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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