#8034BA#8034BA

#8034BA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.201 H 306.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8034BA
RGBrgb(128, 52, 186)
HSLhsl(274, 56%, 47%)
HSVhsv(274, 72%, 73%)
CMYKcmyk(31.2%, 72%, 0%, 27.1%)
CIE-LABlab(38.88, 55.75, -57.05)
CIE-LCHlch(38.88, 79.76, 314.34°)
OKLaboklab(49.8% 0.1187 -0.1621)
OKLCHoklch(49.8% 0.201 306.2)
XYZxyz(18.9911, 10.5905, 47.4886)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034BA #6EBA34
analogous
#3D34BA #8034BA #BA34B1
triadic
#8034BA #BA8034 #34BA80
tetradic
#8034BA #BA3D34 #6EBA34 #34B1BA
square
#8034BA #BA3D34 #6EBA34 #34B1BA
split-complementary
#8034BA #B1BA34 #34BA3D
monochromatic
#3E195A #5F278A #8034BA #9E5AD1 #BA8ADE

Accessibility & contrast

On white

6.74
#8034BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8034BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034BA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034BA#FFFFFF#000000##FFFFFF
##8034BA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#765374
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8034ba;
/* rgb */ color: rgb(128, 52, 186);
/* oklch */ color: oklch(49.8% 0.201 306.2);
Tailwind
colors: {
  custom: {
    50: '#aa72d0',
    500: '#8034ba',
    950: '#000000',
  },
}
SCSS
$custom: #8034ba;
$custom-light: #aa72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8034ba",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 274.03,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.20087,
    "h": 306.2
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#8034BA
secondary
#A0C881
accent
#E0488A
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #8034BA

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

Preview Lab → · Contrast checker → · Palette generator →

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