#8034AA#8034AA

#8034AA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.185 H 310.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8034AA
RGBrgb(128, 52, 170)
HSLhsl(279, 53%, 44%)
HSVhsv(279, 69%, 67%)
CMYKcmyk(24.7%, 69.4%, 0%, 33.3%)
CIE-LABlab(37.75, 52.14, -49.40)
CIE-LCHlch(37.75, 71.83, 316.55°)
OKLaboklab(48.63% 0.1209 -0.1396)
OKLCHoklch(48.63% 0.185 310.9)
XYZxyz(17.3844, 9.9479, 39.0268)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034AA #5EAA34
analogous
#4534AA #8034AA #AA3499
triadic
#8034AA #AA8034 #34AA80
tetradic
#8034AA #AA4534 #5EAA34 #3499AA
square
#8034AA #AA4534 #5EAA34 #3499AA
split-complementary
#8034AA #99AA34 #34AA45
monochromatic
#39174C #5D267B #8034AA #9F51CA #B980D8

Accessibility & contrast

On white

7.02
#8034AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8034AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8034AA#FFFFFF#000000##FFFFFF
##8034AA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#235AA7
Tritanopia (blue-blind)
#7B4D6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8034aa;
/* rgb */ color: rgb(128, 52, 170);
/* oklch */ color: oklch(48.6% 0.185 310.9);
Tailwind
colors: {
  custom: {
    50: '#a972c4',
    500: '#8034aa',
    950: '#000000',
  },
}
SCSS
$custom: #8034aa;
$custom-light: #a972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8034aa",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 278.644,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.18465,
    "h": 310.9
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#8034AA
secondary
#92C178
accent
#DD4B7F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8034AA

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

Preview Lab → · Contrast checker → · Palette generator →

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