#8043AB#8043AB

#8043AB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.165 H 308.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8043AB
RGBrgb(128, 67, 171)
HSLhsl(275, 44%, 47%)
HSVhsv(275, 61%, 67%)
CMYKcmyk(25.1%, 60.8%, 0%, 32.9%)
CIE-LABlab(40.48, 45.04, -45.60)
CIE-LCHlch(40.48, 64.10, 314.65°)
OKLaboklab(50.62% 0.103 -0.1285)
OKLCHoklch(50.62% 0.165 308.7)
XYZxyz(18.2585, 11.5441, 39.7866)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043AB #6EAB43
analogous
#4C43AB #8043AB #AB43A2
triadic
#8043AB #AB8043 #43AB80
tetradic
#8043AB #AB4C43 #6EAB43 #43A2AB
square
#8043AB #AB4C43 #6EAB43 #43A2AB
split-complementary
#8043AB #A2AB43 #43AB4C
monochromatic
#3E2153 #5F327F #8043AB #9E68C4 #BA94D5

Accessibility & contrast

On white

6.35
#8043AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8043AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043AB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043AB#FFFFFF#000000##FFFFFF
##8043AB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAE
Deuteranopia (green-blind)
#3460A9
Tritanopia (blue-blind)
#7A5771
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8043ab;
/* rgb */ color: rgb(128, 67, 171);
/* oklch */ color: oklch(50.6% 0.165 308.7);
Tailwind
colors: {
  custom: {
    50: '#a87ac4',
    500: '#8043ab',
    950: '#000000',
  },
}
SCSS
$custom: #8043ab;
$custom-light: #a87ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8043ab",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 275.192,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.1647,
    "h": 308.7
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#8043AB
secondary
#A0C089
accent
#D35489
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8043AB

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

Preview Lab → · Contrast checker → · Palette generator →

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