#8064E5#8064E5

#8064E5 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.6% C 0.187 H 289.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8064E5
RGBrgb(128, 100, 229)
HSLhsl(253, 71%, 65%)
HSVhsv(253, 56%, 90%)
CMYKcmyk(44.1%, 56.3%, 0%, 10.2%)
CIE-LABlab(51.11, 41.85, -62.02)
CIE-LCHlch(51.11, 74.82, 304.01°)
OKLaboklab(59.59% 0.0625 -0.1768)
OKLCHoklch(59.59% 0.187 289.5)
XYZxyz(27.5981, 19.3597, 76.3962)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064E5 #C9E564
analogous
#6489E5 #8064E5 #C064E5
triadic
#8064E5 #E58064 #64E580
tetradic
#8064E5 #E56489 #C9E564 #64E5C0
square
#8064E5 #E56489 #C9E564 #64E5C0
split-complementary
#8064E5 #E5C064 #89E564
monochromatic
#3E1EB1 #5530DC #8064E5 #AB98EE #D6CDF7

Accessibility & contrast

On white

4.31
#8064E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8064E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064E5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064E5#FFFFFF#000000##000000
##8064E51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#137CE9
Deuteranopia (green-blind)
#1A77E2
Tritanopia (blue-blind)
#62809B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8064e5;
/* rgb */ color: rgb(128, 100, 229);
/* oklch */ color: oklch(59.6% 0.187 289.5);
Tailwind
colors: {
  custom: {
    50: '#ab91ee',
    500: '#8064e5',
    950: '#000000',
  },
}
SCSS
$custom: #8064e5;
$custom-light: #ab91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8064e5",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 253.023,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.18749,
    "h": 289.5
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#8064E5
secondary
#DFE9BC
accent
#D312A9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8064E5

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

Preview Lab → · Contrast checker → · Palette generator →

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