#8034BD#8034BD

#8034BD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.204 H 305.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8034BD
RGBrgb(128, 52, 189)
HSLhsl(273, 57%, 47%)
HSVhsv(273, 72%, 74%)
CMYKcmyk(32.3%, 72.5%, 0%, 25.9%)
CIE-LABlab(39.10, 56.44, -58.45)
CIE-LCHlch(39.10, 81.25, 313.99°)
OKLaboklab(50.02% 0.1182 -0.1662)
OKLCHoklch(50.02% 0.204 305.4)
XYZxyz(19.3133, 10.7194, 49.1858)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034BD #71BD34
analogous
#3C34BD #8034BD #BD34B5
triadic
#8034BD #BD8034 #34BD80
tetradic
#8034BD #BD3C34 #71BD34 #34B5BD
square
#8034BD #BD3C34 #71BD34 #34B5BD
split-complementary
#8034BD #B5BD34 #34BD3C
monochromatic
#3F1A5D #5F278D #8034BD #9E5CD2 #BA8CDF

Accessibility & contrast

On white

6.68
#8034BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8034BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034BD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034BD#FFFFFF#000000##FFFFFF
##8034BD1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#755575
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8034bd;
/* rgb */ color: rgb(128, 52, 189);
/* oklch */ color: oklch(50.0% 0.204 305.4);
Tailwind
colors: {
  custom: {
    50: '#aa72d2',
    500: '#8034bd',
    950: '#000000',
  },
}
SCSS
$custom: #8034bd;
$custom-light: #aa72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8034bd",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 273.285,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.20392,
    "h": 305.4
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#8034BD
secondary
#A3CA83
accent
#E0488C
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8034BD

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

Preview Lab → · Contrast checker → · Palette generator →

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