#8034C8#8034C8

#8034C8 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.215 H 302.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8034C8
RGBrgb(128, 52, 200)
HSLhsl(271, 59%, 49%)
HSVhsv(271, 74%, 78%)
CMYKcmyk(36%, 74%, 0%, 21.6%)
CIE-LABlab(39.94, 58.99, -63.52)
CIE-LCHlch(39.94, 86.68, 312.88°)
OKLaboklab(50.88% 0.116 -0.1811)
OKLCHoklch(50.88% 0.215 302.6)
XYZxyz(20.5529, 11.2153, 55.7144)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034C8 #7CC834
analogous
#3634C8 #8034C8 #C834C6
triadic
#8034C8 #C88034 #34C880
tetradic
#8034C8 #C83634 #7CC834 #34C6C8
square
#8034C8 #C83634 #7CC834 #34C6C8
split-complementary
#8034C8 #C6C834 #34C836
monochromatic
#421B67 #612797 #8034C8 #9E63D6 #BC93E3

Accessibility & contrast

On white

6.48
#8034C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8034C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034C8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034C8#FFFFFF#000000##FFFFFF
##8034C81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#71597C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8034c8;
/* rgb */ color: rgb(128, 52, 200);
/* oklch */ color: oklch(50.9% 0.215 302.6);
Tailwind
colors: {
  custom: {
    50: '#ab73da',
    500: '#8034c8',
    950: '#000000',
  },
}
SCSS
$custom: #8034c8;
$custom-light: #ab73da;
$custom-dark: #000000;
JSON
{
  "hex": "#8034c8",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 270.811,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50875,
    "c": 0.21506,
    "h": 302.6
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#8034C8
secondary
#ABCE8A
accent
#E24692
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8034C8

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

Preview Lab → · Contrast checker → · Palette generator →

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