#8034D2#8034D2

#8034D2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.7% C 0.225 H 300.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8034D2
RGBrgb(128, 52, 210)
HSLhsl(269, 64%, 51%)
HSVhsv(269, 75%, 82%)
CMYKcmyk(39%, 75.2%, 0%, 17.6%)
CIE-LABlab(40.73, 61.34, -68.02)
CIE-LCHlch(40.73, 91.59, 312.04°)
OKLaboklab(51.68% 0.1138 -0.1943)
OKLCHoklch(51.68% 0.225 300.3)
XYZxyz(21.7600, 11.6981, 62.0718)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8034D2 #86D234
analogous
#3437D2 #8034D2 #CF34D2
triadic
#8034D2 #D28034 #34D280
tetradic
#8034D2 #D23437 #86D234 #34D2CF
square
#8034D2 #D23437 #86D234 #34D2CF
split-complementary
#8034D2 #D2CF34 #37D234
monochromatic
#441972 #6224A4 #8034D2 #9F66DD #BF98E8

Accessibility & contrast

On white

6.29
#8034D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8034D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8034D2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8034D2#FFFFFF#000000##FFFFFF
##8034D21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8034d2;
/* rgb */ color: rgb(128, 52, 210);
/* oklch */ color: oklch(51.7% 0.225 300.3);
Tailwind
colors: {
  custom: {
    50: '#ac73e1',
    500: '#8034d2',
    950: '#000000',
  },
}
SCSS
$custom: #8034d2;
$custom-light: #ac73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8034d2",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 268.861,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.22516,
    "h": 300.3
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#8034D2
secondary
#B2D48E
accent
#E74197
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8034D2

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

Preview Lab → · Contrast checker → · Palette generator →

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