#8064E7#8064E7

#8064E7 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.7% C 0.190 H 289.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8064E7
RGBrgb(128, 100, 231)
HSLhsl(253, 73%, 65%)
HSVhsv(253, 57%, 91%)
CMYKcmyk(44.6%, 56.7%, 0%, 9.4%)
CIE-LABlab(51.23, 42.41, -62.94)
CIE-LCHlch(51.23, 75.89, 303.97°)
OKLaboklab(59.73% 0.0625 -0.1795)
OKLCHoklch(59.73% 0.19 289.2)
XYZxyz(27.8790, 19.4720, 77.8754)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064E7 #CBE764
analogous
#648AE7 #8064E7 #C164E7
triadic
#8064E7 #E78064 #64E780
tetradic
#8064E7 #E7648A #CBE764 #64E7C1
square
#8064E7 #E7648A #CBE764 #64E7C1
split-complementary
#8064E7 #E7C164 #8AE764
monochromatic
#3D1CB5 #552FDF #8064E7 #AB99EF #D7CEF7

Accessibility & contrast

On white

4.29
#8064E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8064E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064E7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064E7#FFFFFF#000000##000000
##8064E71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7DEB
Deuteranopia (green-blind)
#1477E4
Tritanopia (blue-blind)
#61819C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8064e7;
/* rgb */ color: rgb(128, 100, 231);
/* oklch */ color: oklch(59.7% 0.190 289.2);
Tailwind
colors: {
  custom: {
    50: '#ab91ef',
    500: '#8064e7',
    950: '#000000',
  },
}
SCSS
$custom: #8064e7;
$custom-light: #ab91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8064e7",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 252.824,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.19002,
    "h": 289.2
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#8064E7
secondary
#E0EABD
accent
#D510AB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8064E7

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

Preview Lab → · Contrast checker → · Palette generator →

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