#8034B1#8034B1

#8034B1 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.192 H 308.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8034B1
RGBrgb(128, 52, 177)
HSLhsl(276, 55%, 45%)
HSVhsv(276, 71%, 69%)
CMYKcmyk(27.7%, 70.6%, 0%, 30.6%)
CIE-LABlab(38.23, 53.71, -52.78)
CIE-LCHlch(38.23, 75.30, 315.50°)
OKLaboklab(49.13% 0.12 -0.1495)
OKLCHoklch(49.13% 0.192 308.8)
XYZxyz(18.0643, 10.2198, 42.6074)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034B1 #65B134
analogous
#4234B1 #8034B1 #B134A4
triadic
#8034B1 #B18034 #34B180
tetradic
#8034B1 #B14234 #65B134 #34A4B1
square
#8034B1 #B14234 #65B134 #34A4B1
split-complementary
#8034B1 #A4B134 #34B142
monochromatic
#3C1852 #5E2682 #8034B1 #9E55CD #B984DB

Accessibility & contrast

On white

6.90
#8034B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8034B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034B1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034B1#FFFFFF#000000##FFFFFF
##8034B11.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#175BAE
Tritanopia (blue-blind)
#79506F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8034b1;
/* rgb */ color: rgb(128, 52, 177);
/* oklch */ color: oklch(49.1% 0.192 308.8);
Tailwind
colors: {
  custom: {
    50: '#a972c9',
    500: '#8034b1',
    950: '#000000',
  },
}
SCSS
$custom: #8034b1;
$custom-light: #a972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8034b1",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 276.48,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.19174,
    "h": 308.8
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#8034B1
secondary
#99C57C
accent
#DE4A84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8034B1

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

Preview Lab → · Contrast checker → · Palette generator →

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