#8034A8#8034A8

#8034A8 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.183 H 311.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8034A8
RGBrgb(128, 52, 168)
HSLhsl(279, 53%, 43%)
HSVhsv(279, 69%, 66%)
CMYKcmyk(23.8%, 69%, 0%, 34.1%)
CIE-LABlab(37.61, 51.70, -48.42)
CIE-LCHlch(37.61, 70.84, 316.88°)
OKLaboklab(48.49% 0.1211 -0.1367)
OKLCHoklch(48.49% 0.183 311.5)
XYZxyz(17.1966, 9.8728, 38.0379)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034A8 #5CA834
analogous
#4634A8 #8034A8 #A83496
triadic
#8034A8 #A88034 #34A880
tetradic
#8034A8 #A84634 #5CA834 #3496A8
square
#8034A8 #A84634 #5CA834 #3496A8
split-complementary
#8034A8 #96A834 #34A846
monochromatic
#39174B #5C2679 #8034A8 #9F50C9 #B97FD7

Accessibility & contrast

On white

7.06
#8034A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8034A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8034A8#FFFFFF#000000##FFFFFF
##8034A81.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#265AA5
Tritanopia (blue-blind)
#7B4C6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8034a8;
/* rgb */ color: rgb(128, 52, 168);
/* oklch */ color: oklch(48.5% 0.183 311.5);
Tailwind
colors: {
  custom: {
    50: '#a972c2',
    500: '#8034a8',
    950: '#000000',
  },
}
SCSS
$custom: #8034a8;
$custom-light: #a972c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8034a8",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 279.31,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48489,
    "c": 0.18263,
    "h": 311.5
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#8034A8
secondary
#91C077
accent
#DC4C7D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8034A8

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

Preview Lab → · Contrast checker → · Palette generator →

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