#8034B4#8034B4

#8034B4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.195 H 307.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8034B4
RGBrgb(128, 52, 180)
HSLhsl(276, 55%, 45%)
HSVhsv(276, 71%, 71%)
CMYKcmyk(28.9%, 71.1%, 0%, 29.4%)
CIE-LABlab(38.45, 54.38, -54.21)
CIE-LCHlch(38.45, 76.79, 315.09°)
OKLaboklab(49.35% 0.1196 -0.1537)
OKLCHoklch(49.35% 0.195 307.9)
XYZxyz(18.3666, 10.3407, 44.1996)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034B4 #68B434
analogous
#4034B4 #8034B4 #B434A8
triadic
#8034B4 #B48034 #34B480
tetradic
#8034B4 #B44034 #68B434 #34A8B4
square
#8034B4 #B44034 #68B434 #34A8B4
split-complementary
#8034B4 #A8B434 #34B440
monochromatic
#3C1955 #5E2685 #8034B4 #9E57CE #B986DC

Accessibility & contrast

On white

6.84
#8034B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8034B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8034B4#FFFFFF#000000##FFFFFF
##8034B41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0F5BB1
Tritanopia (blue-blind)
#785170
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8034b4;
/* rgb */ color: rgb(128, 52, 180);
/* oklch */ color: oklch(49.3% 0.195 307.9);
Tailwind
colors: {
  custom: {
    50: '#a972cb',
    500: '#8034b4',
    950: '#000000',
  },
}
SCSS
$custom: #8034b4;
$custom-light: #a972cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8034b4",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 275.625,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.19479,
    "h": 307.9
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#8034B4
secondary
#9BC67E
accent
#DF4986
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8034B4

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

Preview Lab → · Contrast checker → · Palette generator →

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