#8E64F5#8E64F5

#8E64F5 is a mid, highly saturated violet. Relative luminance 0.215; OKLCH L 61.9% C 0.207 H 292.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8E64F5
RGBrgb(142, 100, 245)
HSLhsl(257, 88%, 68%)
HSVhsv(257, 59%, 96%)
CMYKcmyk(42%, 59.2%, 0%, 3.9%)
CIE-LABlab(53.45, 49.18, -67.13)
CIE-LCHlch(53.45, 83.22, 306.23°)
OKLaboklab(61.95% 0.0799 -0.1914)
OKLCHoklch(61.95% 0.207 292.7)
XYZxyz(32.1894, 21.4568, 88.8141)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64F5 #CBF564
analogous
#6483F5 #8E64F5 #D664F5
triadic
#8E64F5 #F58E64 #64F58E
tetradic
#8E64F5 #F56483 #CBF564 #64F5D6
square
#8E64F5 #F56483 #CBF564 #64F5D6
split-complementary
#8E64F5 #F5D664 #83F564
monochromatic
#460DD1 #642BF1 #8E64F5 #B89DF9 #E2D7FC

Accessibility & contrast

On white

3.97
#8E64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8E64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64F5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64F5#FFFFFF#000000##000000
##8E64F51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#037DF2
Tritanopia (blue-blind)
#7184A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e64f5;
/* rgb */ color: rgb(142, 100, 245);
/* oklch */ color: oklch(61.9% 0.207 292.7);
Tailwind
colors: {
  custom: {
    50: '#b592f9',
    500: '#8e64f5',
    950: '#000000',
  },
}
SCSS
$custom: #8e64f5;
$custom-light: #b592f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64f5",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 257.379,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.20742,
    "h": 292.7
  },
  "luminance": 0.21458
}

Semantic roles & 50–950 ramp

primary
#8E64F5
secondary
#E4F1C4
accent
#E401A3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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