#8064A4#8064A4

#8064A4 is a mid, moderate violet. Relative luminance 0.164; OKLCH L 55.7% C 0.101 H 303.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8064A4
RGBrgb(128, 100, 164)
HSLhsl(266, 26%, 52%)
HSVhsv(266, 39%, 64%)
CMYKcmyk(22%, 39%, 0%, 35.7%)
CIE-LABlab(47.47, 24.58, -30.40)
CIE-LCHlch(47.47, 39.09, 308.96°)
OKLaboklab(55.7% 0.0557 -0.0844)
OKLCHoklch(55.7% 0.101 303.4)
XYZxyz(20.1587, 16.3839, 37.2152)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064A4 #88A464
analogous
#6468A4 #8064A4 #A064A4
triadic
#8064A4 #A48064 #64A480
tetradic
#8064A4 #A46468 #88A464 #64A4A0
square
#8064A4 #A46468 #88A464 #64A4A0
split-complementary
#8064A4 #A4A064 #68A464
monochromatic
#443459 #624B80 #8064A4 #A08BBB #BFB1D1

Accessibility & contrast

On white

4.91
#8064A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8064A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8064A4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064A4#FFFFFF#000000##FFFFFF
##8064A41.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5570A6
Deuteranopia (green-blind)
#5B71A2
Tritanopia (blue-blind)
#7A6E7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8064a4;
/* rgb */ color: rgb(128, 100, 164);
/* oklch */ color: oklch(55.7% 0.101 303.4);
Tailwind
colors: {
  custom: {
    50: '#a690bf',
    500: '#8064a4',
    950: '#000000',
  },
}
SCSS
$custom: #8064a4;
$custom-light: #a690bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8064a4",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 164
  },
  "hsl": {
    "h": 266.25,
    "s": 26.016,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.10112,
    "h": 303.4
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#8064A4
secondary
#B4C0A4
accent
#C2659A
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #8064A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8064A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva