#8034AB#8034AB

#8034AB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.186 H 310.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8034AB
RGBrgb(128, 52, 171)
HSLhsl(278, 53%, 44%)
HSVhsv(278, 70%, 67%)
CMYKcmyk(25.1%, 69.6%, 0%, 32.9%)
CIE-LABlab(37.82, 52.37, -49.88)
CIE-LCHlch(37.82, 72.32, 316.39°)
OKLaboklab(48.7% 0.1208 -0.141)
OKLCHoklch(48.7% 0.186 310.6)
XYZxyz(17.4794, 9.9858, 39.5268)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034AB #5FAB34
analogous
#4434AB #8034AB #AB349A
triadic
#8034AB #AB8034 #34AB80
tetradic
#8034AB #AB4434 #5FAB34 #349AAB
square
#8034AB #AB4434 #5FAB34 #349AAB
split-complementary
#8034AB #9AAB34 #34AB44
monochromatic
#3A174D #5D267C #8034AB #9F52CA #B981D9

Accessibility & contrast

On white

7.01
#8034AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8034AB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034AB#FFFFFF#000000##FFFFFF
##8034AB1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#225AA8
Tritanopia (blue-blind)
#7A4D6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8034ab;
/* rgb */ color: rgb(128, 52, 171);
/* oklch */ color: oklch(48.7% 0.186 310.6);
Tailwind
colors: {
  custom: {
    50: '#a972c5',
    500: '#8034ab',
    950: '#000000',
  },
}
SCSS
$custom: #8034ab;
$custom-light: #a972c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8034ab",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 278.319,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.18567,
    "h": 310.6
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8034AB

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

Preview Lab → · Contrast checker → · Palette generator →

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