#8034B2#8034B2

#8034B2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.193 H 308.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8034B2
RGBrgb(128, 52, 178)
HSLhsl(276, 55%, 45%)
HSVhsv(276, 71%, 70%)
CMYKcmyk(28.1%, 70.8%, 0%, 30.2%)
CIE-LABlab(38.30, 53.93, -53.26)
CIE-LCHlch(38.30, 75.80, 315.36°)
OKLaboklab(49.2% 0.1199 -0.1509)
OKLCHoklch(49.2% 0.193 308.5)
XYZxyz(18.1643, 10.2598, 43.1343)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034B2 #66B234
analogous
#4134B2 #8034B2 #B234A5
triadic
#8034B2 #B28034 #34B280
tetradic
#8034B2 #B24134 #66B234 #34A5B2
square
#8034B2 #B24134 #66B234 #34A5B2
split-complementary
#8034B2 #A5B234 #34B241
monochromatic
#3C1853 #5E2683 #8034B2 #9E56CE #B985DB

Accessibility & contrast

On white

6.88
#8034B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8034B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8034B2#FFFFFF#000000##FFFFFF
##8034B21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#78506F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8034b2;
/* rgb */ color: rgb(128, 52, 178);
/* oklch */ color: oklch(49.2% 0.193 308.5);
Tailwind
colors: {
  custom: {
    50: '#a972ca',
    500: '#8034b2',
    950: '#000000',
  },
}
SCSS
$custom: #8034b2;
$custom-light: #a972ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8034b2",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 276.19,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.19276,
    "h": 308.5
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#8034B2
secondary
#99C57D
accent
#DE4A85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8034B2

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

Preview Lab → · Contrast checker → · Palette generator →

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