#8064CA#8064CA

#8064CA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.8% C 0.152 H 293.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8064CA
RGBrgb(128, 100, 202)
HSLhsl(256, 49%, 59%)
HSVhsv(256, 50%, 79%)
CMYKcmyk(36.6%, 50.5%, 0%, 20.8%)
CIE-LABlab(49.46, 34.40, -49.33)
CIE-LCHlch(49.46, 60.14, 304.89°)
OKLaboklab(57.84% 0.0614 -0.1395)
OKLCHoklch(57.84% 0.152 293.7)
XYZxyz(24.1172, 17.9673, 58.0630)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064CA #AECA64
analogous
#647BCA #8064CA #B364CA
triadic
#8064CA #CA8064 #64CA80
tetradic
#8064CA #CA647B #AECA64 #64CAB3
square
#8064CA #CA647B #AECA64 #64CAB3
split-complementary
#8064CA #CAB364 #7BCA64
monochromatic
#462E86 #5E3DB3 #8064CA #A592DA #CBBFE9

Accessibility & contrast

On white

4.57
#8064CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8064CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064CA#FFFFFF#000000##000000
##8064CA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#6E788E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8064ca;
/* rgb */ color: rgb(128, 100, 202);
/* oklch */ color: oklch(57.8% 0.152 293.7);
Tailwind
colors: {
  custom: {
    50: '#a891db',
    500: '#8064ca',
    950: '#000000',
  },
}
SCSS
$custom: #8064ca;
$custom-light: #a891db;
$custom-dark: #000000;
JSON
{
  "hex": "#8064ca",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 256.471,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57837,
    "c": 0.1524,
    "h": 293.7
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

primary
#8064CA
secondary
#CED9B1
accent
#D94FB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8064CA

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

Preview Lab → · Contrast checker → · Palette generator →

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