#8034D1#8034D1

#8034D1 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.224 H 300.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8034D1
RGBrgb(128, 52, 209)
HSLhsl(269, 63%, 51%)
HSVhsv(269, 75%, 82%)
CMYKcmyk(38.8%, 75.1%, 0%, 18%)
CIE-LABlab(40.65, 61.10, -67.57)
CIE-LCHlch(40.65, 91.10, 312.12°)
OKLaboklab(51.6% 0.114 -0.193)
OKLCHoklch(51.6% 0.224 300.6)
XYZxyz(21.6359, 11.6484, 61.4177)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034D1 #85D134
analogous
#3436D1 #8034D1 #CF34D1
triadic
#8034D1 #D18034 #34D180
tetradic
#8034D1 #D13436 #85D134 #34D1CF
square
#8034D1 #D13436 #85D134 #34D1CF
split-complementary
#8034D1 #D1CF34 #36D134
monochromatic
#441A71 #6225A3 #8034D1 #9F66DC #BE98E8

Accessibility & contrast

On white

6.31
#8034D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8034D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034D1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034D1#FFFFFF#000000##FFFFFF
##8034D11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#6D5D81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8034d1;
/* rgb */ color: rgb(128, 52, 209);
/* oklch */ color: oklch(51.6% 0.224 300.6);
Tailwind
colors: {
  custom: {
    50: '#ac73e0',
    500: '#8034d1',
    950: '#000000',
  },
}
SCSS
$custom: #8034d1;
$custom-light: #ac73e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8034d1",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 269.045,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.22415,
    "h": 300.6
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#8034D1
secondary
#B2D38E
accent
#E64297
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8034D1

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

Preview Lab → · Contrast checker → · Palette generator →

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