#8E64FB#8E64FB

#8E64FB is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.4% C 0.215 H 291.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8E64FB
RGBrgb(142, 100, 251)
HSLhsl(257, 95%, 69%)
HSVhsv(257, 60%, 98%)
CMYKcmyk(43.4%, 60.2%, 0%, 1.6%)
CIE-LABlab(53.85, 50.79, -69.82)
CIE-LCHlch(53.85, 86.34, 306.03°)
OKLaboklab(62.37% 0.0796 -0.1993)
OKLCHoklch(62.37% 0.215 291.8)
XYZxyz(33.1203, 21.8291, 93.7165)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64FB #D1FB64
analogous
#6486FB #8E64FB #DA64FB
triadic
#8E64FB #FB8E64 #64FB8E
tetradic
#8E64FB #FB6486 #D1FB64 #64FBDA
square
#8E64FB #FB6486 #D1FB64 #64FBDA
split-complementary
#8E64FB #FBDA64 #86FB64
monochromatic
#4206DF #6328F9 #8E64FB #B9A0FD #E5DBFE

Accessibility & contrast

On white

3.91
#8E64FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8E64FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64FB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64FB#FFFFFF#000000##000000
##8E64FB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#6E86A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e64fb;
/* rgb */ color: rgb(142, 100, 251);
/* oklch */ color: oklch(62.4% 0.215 291.8);
Tailwind
colors: {
  custom: {
    50: '#b692fe',
    500: '#8e64fb',
    950: '#000000',
  },
}
SCSS
$custom: #8e64fb;
$custom-light: #b692fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64fb",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 256.689,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.21463,
    "h": 291.8
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#8E64FB
secondary
#E7F4C7
accent
#E600A6
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8E64FB

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

Preview Lab → · Contrast checker → · Palette generator →

#8E64FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva