#8034C5#8034C5

#8034C5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.212 H 303.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8034C5
RGBrgb(128, 52, 197)
HSLhsl(271, 58%, 49%)
HSVhsv(271, 74%, 77%)
CMYKcmyk(35%, 73.6%, 0%, 22.7%)
CIE-LABlab(39.71, 58.29, -62.15)
CIE-LCHlch(39.71, 85.20, 313.16°)
OKLaboklab(50.64% 0.1167 -0.1771)
OKLCHoklch(50.64% 0.212 303.4)
XYZxyz(20.2058, 11.0764, 53.8860)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034C5 #79C534
analogous
#3734C5 #8034C5 #C534C2
triadic
#8034C5 #C58034 #34C580
tetradic
#8034C5 #C53734 #79C534 #34C2C5
square
#8034C5 #C53734 #79C534 #34C2C5
split-complementary
#8034C5 #C2C534 #34C537
monochromatic
#411A64 #612795 #8034C5 #9E61D5 #BC91E2

Accessibility & contrast

On white

6.53
#8034C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8034C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034C5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034C5#FFFFFF#000000##FFFFFF
##8034C51.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#72587A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8034c5;
/* rgb */ color: rgb(128, 52, 197);
/* oklch */ color: oklch(50.6% 0.212 303.4);
Tailwind
colors: {
  custom: {
    50: '#ab73d8',
    500: '#8034c5',
    950: '#000000',
  },
}
SCSS
$custom: #8034c5;
$custom-light: #ab73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8034c5",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 271.448,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.21203,
    "h": 303.4
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#8034C5
secondary
#A9CD88
accent
#E14690
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8034C5

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

Preview Lab → · Contrast checker → · Palette generator →

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