#8034B7#8034B7

#8034B7 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.198 H 307.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8034B7
RGBrgb(128, 52, 183)
HSLhsl(275, 56%, 46%)
HSVhsv(275, 72%, 72%)
CMYKcmyk(30.1%, 71.6%, 0%, 28.2%)
CIE-LABlab(38.66, 55.06, -55.63)
CIE-LCHlch(38.66, 78.28, 314.70°)
OKLaboklab(49.57% 0.1192 -0.1579)
OKLCHoklch(49.57% 0.198 307)
XYZxyz(18.6755, 10.4643, 45.8265)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034B7 #6BB734
analogous
#3E34B7 #8034B7 #B734AC
triadic
#8034B7 #B78034 #34B780
tetradic
#8034B7 #B73E34 #6BB734 #34ACB7
square
#8034B7 #B73E34 #6BB734 #34ACB7
split-complementary
#8034B7 #ACB734 #34B73E
monochromatic
#3D1958 #5F2687 #8034B7 #9E59D0 #BA88DD

Accessibility & contrast

On white

6.79
#8034B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8034B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034B7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034B7#FFFFFF#000000##FFFFFF
##8034B71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#035CB4
Tritanopia (blue-blind)
#775272
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8034b7;
/* rgb */ color: rgb(128, 52, 183);
/* oklch */ color: oklch(49.6% 0.198 307.0);
Tailwind
colors: {
  custom: {
    50: '#aa72cd',
    500: '#8034b7',
    950: '#000000',
  },
}
SCSS
$custom: #8034b7;
$custom-light: #aa72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8034b7",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 274.809,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.19783,
    "h": 307
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#8034B7
secondary
#9EC780
accent
#DF4988
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #8034B7

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

Preview Lab → · Contrast checker → · Palette generator →

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