#8034CA#8034CA

#8034CA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.217 H 302.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8034CA
RGBrgb(128, 52, 202)
HSLhsl(270, 59%, 50%)
HSVhsv(270, 74%, 79%)
CMYKcmyk(36.6%, 74.3%, 0%, 20.8%)
CIE-LABlab(40.10, 59.46, -64.43)
CIE-LCHlch(40.10, 87.67, 312.70°)
OKLaboklab(51.03% 0.1156 -0.1837)
OKLCHoklch(51.03% 0.217 302.2)
XYZxyz(20.7882, 11.3094, 56.9534)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034CA #7ECA34
analogous
#3534CA #8034CA #CA34C9
triadic
#8034CA #CA8034 #34CA80
tetradic
#8034CA #CA3534 #7ECA34 #34C9CA
square
#8034CA #CA3534 #7ECA34 #34C9CA
split-complementary
#8034CA #C9CA34 #34CA35
monochromatic
#421B69 #612799 #8034CA #9E64D7 #BD95E4

Accessibility & contrast

On white

6.44
#8034CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8034CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034CA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034CA#FFFFFF#000000##FFFFFF
##8034CA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#705A7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8034ca;
/* rgb */ color: rgb(128, 52, 202);
/* oklch */ color: oklch(51.0% 0.217 302.2);
Tailwind
colors: {
  custom: {
    50: '#ab73db',
    500: '#8034ca',
    950: '#000000',
  },
}
SCSS
$custom: #8034ca;
$custom-light: #ab73db;
$custom-dark: #000000;
JSON
{
  "hex": "#8034ca",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 270.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.21708,
    "h": 302.2
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#8034CA
secondary
#ACCF8B
accent
#E24693
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8034CA

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

Preview Lab → · Contrast checker → · Palette generator →

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