#8064F5#8064F5

#8064F5 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.7% C 0.208 H 287.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8064F5
RGBrgb(128, 100, 245)
HSLhsl(252, 88%, 68%)
HSVhsv(252, 59%, 96%)
CMYKcmyk(47.8%, 59.2%, 0%, 3.9%)
CIE-LABlab(52.17, 46.36, -69.26)
CIE-LCHlch(52.17, 83.34, 303.80°)
OKLaboklab(60.71% 0.0621 -0.1981)
OKLCHoklch(60.71% 0.208 287.4)
XYZxyz(29.9359, 20.2948, 88.7084)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064F5 #D9F564
analogous
#6491F5 #8064F5 #C864F5
triadic
#8064F5 #F58064 #64F580
tetradic
#8064F5 #F56491 #D9F564 #64F5C8
square
#8064F5 #F56491 #D9F564 #64F5C8
split-complementary
#8064F5 #F5C864 #91F564
monochromatic
#330DD1 #512BF1 #8064F5 #AF9DF9 #DED7FC

Accessibility & contrast

On white

4.15
#8064F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8064F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064F5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064F5#FFFFFF#000000##000000
##8064F51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#5885A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8064f5;
/* rgb */ color: rgb(128, 100, 245);
/* oklch */ color: oklch(60.7% 0.208 287.4);
Tailwind
colors: {
  custom: {
    50: '#ad91f9',
    500: '#8064f5',
    950: '#000000',
  },
}
SCSS
$custom: #8064f5;
$custom-light: #ad91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8064f5",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 251.586,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.2076,
    "h": 287.4
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#8064F5
secondary
#E8F1C4
accent
#E401B9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8064F5

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

Preview Lab → · Contrast checker → · Palette generator →

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