#8034A2#8034A2

#8034A2 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.177 H 313.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8034A2
RGBrgb(128, 52, 162)
HSLhsl(281, 51%, 42%)
HSVhsv(281, 68%, 64%)
CMYKcmyk(21%, 67.9%, 0%, 36.5%)
CIE-LABlab(37.21, 50.40, -45.47)
CIE-LCHlch(37.21, 67.87, 317.94°)
OKLaboklab(48.08% 0.1216 -0.128)
OKLCHoklch(48.08% 0.177 313.5)
XYZxyz(16.6505, 9.6543, 35.1618)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034A2 #56A234
analogous
#4934A2 #8034A2 #A2348D
triadic
#8034A2 #A28034 #34A280
tetradic
#8034A2 #A24934 #56A234 #348DA2
square
#8034A2 #A24934 #56A234 #348DA2
split-complementary
#8034A2 #8DA234 #34A249
monochromatic
#371645 #5B2574 #8034A2 #A14DC6 #B97CD5

Accessibility & contrast

On white

7.17
#8034A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8034A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8034A2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034A2#FFFFFF#000000##FFFFFF
##8034A21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#2D599F
Tritanopia (blue-blind)
#7D4A67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8034a2;
/* rgb */ color: rgb(128, 52, 162);
/* oklch */ color: oklch(48.1% 0.177 313.5);
Tailwind
colors: {
  custom: {
    50: '#a871be',
    500: '#8034a2',
    950: '#000000',
  },
}
SCSS
$custom: #8034a2;
$custom-light: #a871be;
$custom-dark: #000000;
JSON
{
  "hex": "#8034a2",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 281.455,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.17657,
    "h": 313.5
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#8034A2
secondary
#8BBE74
accent
#DB4D79
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8034A2

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

Preview Lab → · Contrast checker → · Palette generator →

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