#8034C2#8034C2

#8034C2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.209 H 304.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8034C2
RGBrgb(128, 52, 194)
HSLhsl(272, 58%, 48%)
HSVhsv(272, 73%, 76%)
CMYKcmyk(34%, 73.2%, 0%, 23.9%)
CIE-LABlab(39.48, 57.59, -60.77)
CIE-LCHlch(39.48, 83.72, 313.46°)
OKLaboklab(50.41% 0.1172 -0.173)
OKLCHoklch(50.41% 0.209 304.1)
XYZxyz(19.8654, 10.9403, 52.0936)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034C2 #76C234
analogous
#3934C2 #8034C2 #C234BD
triadic
#8034C2 #C28034 #34C280
tetradic
#8034C2 #C23934 #76C234 #34BDC2
square
#8034C2 #C23934 #76C234 #34BDC2
split-complementary
#8034C2 #BDC234 #34C239
monochromatic
#401A61 #602792 #8034C2 #9E5FD4 #BB8FE1

Accessibility & contrast

On white

6.59
#8034C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8034C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034C2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034C2#FFFFFF#000000##FFFFFF
##8034C21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#735778
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8034c2;
/* rgb */ color: rgb(128, 52, 194);
/* oklch */ color: oklch(50.4% 0.209 304.1);
Tailwind
colors: {
  custom: {
    50: '#aa73d5',
    500: '#8034c2',
    950: '#000000',
  },
}
SCSS
$custom: #8034c2;
$custom-light: #aa73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8034c2",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 272.113,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.20898,
    "h": 304.1
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#8034C2
secondary
#A6CC86
accent
#E1478E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8034C2

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

Preview Lab → · Contrast checker → · Palette generator →

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