#8064F7#8064F7

#8064F7 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.9% C 0.210 H 287.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8064F7
RGBrgb(128, 100, 247)
HSLhsl(251, 90%, 68%)
HSVhsv(251, 60%, 97%)
CMYKcmyk(48.2%, 59.5%, 0%, 3.1%)
CIE-LABlab(52.31, 46.93, -70.15)
CIE-LCHlch(52.31, 84.40, 303.78°)
OKLaboklab(60.85% 0.0621 -0.2007)
OKLCHoklch(60.85% 0.21 287.2)
XYZxyz(30.2429, 20.4176, 90.3251)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064F7 #DBF764
analogous
#6491F7 #8064F7 #CA64F7
triadic
#8064F7 #F78064 #64F780
tetradic
#8064F7 #F76491 #DBF764 #64F7CA
square
#8064F7 #F76491 #DBF764 #64F7CA
split-complementary
#8064F7 #F7CA64 #91F764
monochromatic
#320BD6 #502AF4 #8064F7 #B09EFA #DFD8FD

Accessibility & contrast

On white

4.13
#8064F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8064F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064F7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064F7#FFFFFF#000000##000000
##8064F71.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#5786A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8064f7;
/* rgb */ color: rgb(128, 100, 247);
/* oklch */ color: oklch(60.9% 0.210 287.2);
Tailwind
colors: {
  custom: {
    50: '#ad91fb',
    500: '#8064f7',
    950: '#000000',
  },
}
SCSS
$custom: #8064f7;
$custom-light: #ad91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8064f7",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 251.429,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60853,
    "c": 0.21007,
    "h": 287.2
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#8064F7
secondary
#E9F2C5
accent
#E600BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8064F7

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

Preview Lab → · Contrast checker → · Palette generator →

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