#8043A4#8043A4

#8043A4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.157 H 311.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8043A4
RGBrgb(128, 67, 164)
HSLhsl(278, 42%, 45%)
HSVhsv(278, 59%, 64%)
CMYKcmyk(22%, 59.1%, 0%, 35.7%)
CIE-LABlab(40.06, 43.42, -42.12)
CIE-LCHlch(40.06, 60.49, 315.87°)
OKLaboklab(50.17% 0.1029 -0.1183)
OKLCHoklch(50.17% 0.157 311)
XYZxyz(17.6088, 11.2842, 36.3652)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043A4 #67A443
analogous
#5043A4 #8043A4 #A44397
triadic
#8043A4 #A48043 #43A480
tetradic
#8043A4 #A45043 #67A443 #4397A4
square
#8043A4 #A45043 #67A443 #4397A4
split-complementary
#8043A4 #97A443 #43A450
monochromatic
#3C1F4D #5E3179 #8043A4 #9E64C0 #B990D2

Accessibility & contrast

On white

6.45
#8043A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8043A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043A4
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043A4#FFFFFF#000000##FFFFFF
##8043A41.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA7
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#7C556D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8043a4;
/* rgb */ color: rgb(128, 67, 164);
/* oklch */ color: oklch(50.2% 0.157 311.0);
Tailwind
colors: {
  custom: {
    50: '#a87abf',
    500: '#8043a4',
    950: '#000000',
  },
}
SCSS
$custom: #8043a4;
$custom-light: #a87abf;
$custom-dark: #000000;
JSON
{
  "hex": "#8043a4",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 277.732,
    "s": 41.991,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.15683,
    "h": 311
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#8043A4
secondary
#9ABD86
accent
#D25684
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #8043A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8043A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva