#8064E2#8064E2

#8064E2 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.4% C 0.184 H 289.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8064E2
RGBrgb(128, 100, 226)
HSLhsl(253, 68%, 64%)
HSVhsv(253, 56%, 89%)
CMYKcmyk(43.4%, 55.8%, 0%, 11.4%)
CIE-LABlab(50.91, 41.01, -60.64)
CIE-LCHlch(50.91, 73.20, 304.07°)
OKLaboklab(59.39% 0.0624 -0.1727)
OKLCHoklch(59.39% 0.184 289.9)
XYZxyz(27.1829, 19.1936, 74.2093)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8064E2 #C6E264
analogous
#6487E2 #8064E2 #BF64E2
triadic
#8064E2 #E28064 #64E280
tetradic
#8064E2 #E26487 #C6E264 #64E2BF
square
#8064E2 #E26487 #C6E264 #64E2BF
split-complementary
#8064E2 #E2BF64 #87E264
monochromatic
#3F20AC #5630D8 #8064E2 #AA98EC #D4CBF5

Accessibility & contrast

On white

4.34
#8064E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8064E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8064E2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8064E2#FFFFFF#000000##000000
##8064E21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7CE6
Deuteranopia (green-blind)
#2176DF
Tritanopia (blue-blind)
#637F99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8064e2;
/* rgb */ color: rgb(128, 100, 226);
/* oklch */ color: oklch(59.4% 0.184 289.9);
Tailwind
colors: {
  custom: {
    50: '#ab91ec',
    500: '#8064e2',
    950: '#000000',
  },
}
SCSS
$custom: #8064e2;
$custom-light: #ab91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8064e2",
  "rgb": {
    "r": 128,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 253.333,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.18366,
    "h": 289.9
  },
  "luminance": 0.19195
}

Semantic roles & 50–950 ramp

primary
#8064E2
secondary
#DDE7BB
accent
#D015A7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8064E2

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

Preview Lab → · Contrast checker → · Palette generator →

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