#8043AC#8043AC

#8043AC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.166 H 308.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8043AC
RGBrgb(128, 67, 172)
HSLhsl(275, 44%, 47%)
HSVhsv(275, 61%, 67%)
CMYKcmyk(25.6%, 61%, 0%, 32.5%)
CIE-LABlab(40.54, 45.28, -46.10)
CIE-LCHlch(40.54, 64.61, 314.49°)
OKLaboklab(50.69% 0.103 -0.13)
OKLCHoklch(50.69% 0.166 308.4)
XYZxyz(18.3541, 11.5823, 40.2904)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043AC #6FAC43
analogous
#4C43AC #8043AC #AC43A4
triadic
#8043AC #AC8043 #43AC80
tetradic
#8043AC #AC4C43 #6FAC43 #43A4AC
square
#8043AC #AC4C43 #6FAC43 #43A4AC
split-complementary
#8043AC #A4AC43 #43AC4C
monochromatic
#3E2154 #5F3280 #8043AC #9E68C4 #BA94D5

Accessibility & contrast

On white

6.33
#8043AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8043AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043AC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043AC#FFFFFF#000000##FFFFFF
##8043AC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAF
Deuteranopia (green-blind)
#3360AA
Tritanopia (blue-blind)
#7A5771
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8043ac;
/* rgb */ color: rgb(128, 67, 172);
/* oklch */ color: oklch(50.7% 0.166 308.4);
Tailwind
colors: {
  custom: {
    50: '#a87ac5',
    500: '#8043ac',
    950: '#000000',
  },
}
SCSS
$custom: #8043ac;
$custom-light: #a87ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#8043ac",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 274.857,
    "s": 43.933,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.16582,
    "h": 308.4
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#8043AC
secondary
#A1C18A
accent
#D4548A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8043AC

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

Preview Lab → · Contrast checker → · Palette generator →

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