#8034AF#8034AF

#8034AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.190 H 309.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8034AF
RGBrgb(128, 52, 175)
HSLhsl(277, 54%, 45%)
HSVhsv(277, 70%, 69%)
CMYKcmyk(26.9%, 70.3%, 0%, 31.4%)
CIE-LABlab(38.09, 53.26, -51.82)
CIE-LCHlch(38.09, 74.31, 315.78°)
OKLaboklab(48.99% 0.1203 -0.1467)
OKLCHoklch(48.99% 0.19 309.4)
XYZxyz(17.8664, 10.1407, 41.5653)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034AF #63AF34
analogous
#4234AF #8034AF #AF34A1
triadic
#8034AF #AF8034 #34AF80
tetradic
#8034AF #AF4234 #63AF34 #34A1AF
square
#8034AF #AF4234 #63AF34 #34A1AF
split-complementary
#8034AF #A1AF34 #34AF42
monochromatic
#3B1851 #5D2680 #8034AF #9E54CC #B983DA

Accessibility & contrast

On white

6.94
#8034AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8034AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8034AF#FFFFFF#000000##FFFFFF
##8034AF1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#794F6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8034af;
/* rgb */ color: rgb(128, 52, 175);
/* oklch */ color: oklch(49.0% 0.190 309.4);
Tailwind
colors: {
  custom: {
    50: '#a972c8',
    500: '#8034af',
    950: '#000000',
  },
}
SCSS
$custom: #8034af;
$custom-light: #a972c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8034af",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 277.073,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48985,
    "c": 0.18972,
    "h": 309.4
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#8034AF
secondary
#97C47B
accent
#DE4A83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8034AF

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

Preview Lab → · Contrast checker → · Palette generator →

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