#8034A5#8034A5

#8034A5 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.180 H 312.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8034A5
RGBrgb(128, 52, 165)
HSLhsl(280, 52%, 43%)
HSVhsv(280, 68%, 65%)
CMYKcmyk(22.4%, 68.5%, 0%, 35.3%)
CIE-LABlab(37.41, 51.05, -46.95)
CIE-LCHlch(37.41, 69.35, 317.39°)
OKLaboklab(48.28% 0.1214 -0.1324)
OKLCHoklch(48.28% 0.18 312.5)
XYZxyz(16.9204, 9.7623, 36.5830)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034A5 #59A534
analogous
#4734A5 #8034A5 #A53492
triadic
#8034A5 #A58034 #34A580
tetradic
#8034A5 #A54734 #59A534 #3492A5
square
#8034A5 #A54734 #59A534 #3492A5
split-complementary
#8034A5 #92A534 #34A547
monochromatic
#381748 #5C2576 #8034A5 #A04FC7 #B97DD6

Accessibility & contrast

On white

7.11
#8034A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8034A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8034A5#FFFFFF#000000##FFFFFF
##8034A51.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#2A5AA2
Tritanopia (blue-blind)
#7C4B68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8034a5;
/* rgb */ color: rgb(128, 52, 165);
/* oklch */ color: oklch(48.3% 0.180 312.5);
Tailwind
colors: {
  custom: {
    50: '#a871c0',
    500: '#8034a5',
    950: '#000000',
  },
}
SCSS
$custom: #8034a5;
$custom-light: #a871c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8034a5",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 280.354,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.1796,
    "h": 312.5
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#8034A5
secondary
#8EBF76
accent
#DC4C7B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8034A5

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

Preview Lab → · Contrast checker → · Palette generator →

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