#8A43B8#8A43B8

#8A43B8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.182 H 309.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A43B8
RGBrgb(138, 67, 184)
HSLhsl(276, 47%, 49%)
HSVhsv(276, 64%, 72%)
CMYKcmyk(25%, 63.6%, 0%, 27.8%)
CIE-LABlab(42.58, 50.43, -49.84)
CIE-LCHlch(42.58, 70.91, 315.34°)
OKLaboklab(52.68% 0.1157 -0.1406)
OKLCHoklch(52.68% 0.182 309.5)
XYZxyz(21.1384, 12.8787, 46.7104)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43B8 #71B843
analogous
#4F43B8 #8A43B8 #B843AC
triadic
#8A43B8 #B88A43 #43B88A
tetradic
#8A43B8 #B84F43 #71B843 #43ACB8
square
#8A43B8 #B84F43 #71B843 #43ACB8
split-complementary
#8A43B8 #ACB843 #43B84F
monochromatic
#47225E #68338B #8A43B8 #A66ECA #C29BDB

Accessibility & contrast

On white

5.87
#8A43B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8A43B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43B8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43B8#FFFFFF#000000##FFFFFF
##8A43B81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#3266B5
Tritanopia (blue-blind)
#845A77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a43b8;
/* rgb */ color: rgb(138, 67, 184);
/* oklch */ color: oklch(52.7% 0.182 309.5);
Tailwind
colors: {
  custom: {
    50: '#b07bce',
    500: '#8a43b8',
    950: '#000000',
  },
}
SCSS
$custom: #8a43b8;
$custom-light: #b07bce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43b8",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 276.41,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.18214,
    "h": 309.5
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#8A43B8
secondary
#A6C790
accent
#D65286
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A43B8

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

Preview Lab → · Contrast checker → · Palette generator →

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