#8034AC#8034AC

#8034AC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.187 H 310.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8034AC
RGBrgb(128, 52, 172)
HSLhsl(278, 54%, 44%)
HSVhsv(278, 70%, 67%)
CMYKcmyk(25.6%, 69.8%, 0%, 32.5%)
CIE-LABlab(37.89, 52.59, -50.37)
CIE-LCHlch(37.89, 72.82, 316.23°)
OKLaboklab(48.77% 0.1207 -0.1424)
OKLCHoklch(48.77% 0.187 310.3)
XYZxyz(17.5750, 10.0241, 40.0307)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034AC #60AC34
analogous
#4434AC #8034AC #AC349C
triadic
#8034AC #AC8034 #34AC80
tetradic
#8034AC #AC4434 #60AC34 #349CAC
square
#8034AC #AC4434 #60AC34 #349CAC
split-complementary
#8034AC #9CAC34 #34AC44
monochromatic
#3A184E #5D267D #8034AC #9F52CB #B981D9

Accessibility & contrast

On white

6.99
#8034AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#8034AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034AC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034AC#FFFFFF#000000##FFFFFF
##8034AC1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#205AA9
Tritanopia (blue-blind)
#7A4E6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8034ac;
/* rgb */ color: rgb(128, 52, 172);
/* oklch */ color: oklch(48.8% 0.187 310.3);
Tailwind
colors: {
  custom: {
    50: '#a972c5',
    500: '#8034ac',
    950: '#000000',
  },
}
SCSS
$custom: #8034ac;
$custom-light: #a972c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8034ac",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 278,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.18668,
    "h": 310.3
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#8034AC
secondary
#94C279
accent
#DD4B80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8034AC

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

Preview Lab → · Contrast checker → · Palette generator →

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