#8064DA#8064DA

#8064DA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.9% C 0.173 H 291.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8064DA
RGBrgb(128, 100, 218)
HSLhsl(254, 61%, 62%)
HSVhsv(254, 54%, 85%)
CMYKcmyk(41.3%, 54.1%, 0%, 14.5%)
CIE-LABlab(50.41, 38.78, -56.92)
CIE-LCHlch(50.41, 68.88, 304.27°)
OKLaboklab(58.85% 0.0623 -0.1618)
OKLCHoklch(58.85% 0.173 291.1)
XYZxyz(26.1107, 18.7647, 68.5623)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064DA #BEDA64
analogous
#6483DA #8064DA #BB64DA
triadic
#8064DA #DA8064 #64DA80
tetradic
#8064DA #DA6483 #BEDA64 #64DABB
square
#8064DA #DA6483 #BEDA64 #64DABB
split-complementary
#8064DA #DABB64 #83DA64
monochromatic
#42269E #5833CE #8064DA #A895E6 #D1C7F2

Accessibility & contrast

On white

4.42
#8064DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8064DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064DA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064DA#FFFFFF#000000##000000
##8064DA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADE
Deuteranopia (green-blind)
#3075D7
Tritanopia (blue-blind)
#677D95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8064da;
/* rgb */ color: rgb(128, 100, 218);
/* oklch */ color: oklch(58.9% 0.173 291.1);
Tailwind
colors: {
  custom: {
    50: '#aa91e6',
    500: '#8064da',
    950: '#000000',
  },
}
SCSS
$custom: #8064da;
$custom-light: #aa91e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8064da",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 254.237,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.17336,
    "h": 291.1
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#8064DA
secondary
#D8E2B7
accent
#C91CA0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #8064DA

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

Preview Lab → · Contrast checker → · Palette generator →

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