#8E64F0#8E64F0

#8E64F0 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.6% C 0.201 H 293.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8E64F0
RGBrgb(142, 100, 240)
HSLhsl(258, 82%, 67%)
HSVhsv(258, 58%, 94%)
CMYKcmyk(40.8%, 58.3%, 0%, 5.9%)
CIE-LABlab(53.12, 47.85, -64.87)
CIE-LCHlch(53.12, 80.61, 306.41°)
OKLaboklab(61.61% 0.0801 -0.1847)
OKLCHoklch(61.61% 0.201 293.4)
XYZxyz(31.4365, 21.1556, 84.8483)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64F0 #C6F064
analogous
#6480F0 #8E64F0 #D464F0
triadic
#8E64F0 #F08E64 #64F08E
tetradic
#8E64F0 #F06480 #C6F064 #64F0D4
square
#8E64F0 #F06480 #C6F064 #64F0D4
split-complementary
#8E64F0 #F0D464 #80F064
monochromatic
#4913C6 #652CEB #8E64F0 #B79CF5 #DFD4FB

Accessibility & contrast

On white

4.01
#8E64F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8E64F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64F0
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64F0#FFFFFF#000000##000000
##8E64F01.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#1A7CED
Tritanopia (blue-blind)
#7483A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e64f0;
/* rgb */ color: rgb(142, 100, 240);
/* oklch */ color: oklch(61.6% 0.201 293.4);
Tailwind
colors: {
  custom: {
    50: '#b592f6',
    500: '#8e64f0',
    950: '#000000',
  },
}
SCSS
$custom: #8e64f0;
$custom-light: #b592f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64f0",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 240
  },
  "hsl": {
    "h": 258,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61607,
    "c": 0.20136,
    "h": 293.4
  },
  "luminance": 0.21156
}

Semantic roles & 50–950 ramp

primary
#8E64F0
secondary
#E1EEC1
accent
#DF079E
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E64F0

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

Preview Lab → · Contrast checker → · Palette generator →

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