#8C64EA#8C64EA

#8C64EA is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.0% C 0.194 H 293.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8C64EA
RGBrgb(140, 100, 234)
HSLhsl(258, 76%, 65%)
HSVhsv(258, 57%, 92%)
CMYKcmyk(40.2%, 57.3%, 0%, 8.2%)
CIE-LABlab(52.54, 45.82, -62.46)
CIE-LCHlch(52.54, 77.46, 306.27°)
OKLaboklab(61.02% 0.0776 -0.1777)
OKLCHoklch(61.02% 0.194 293.6)
XYZxyz(30.2197, 20.6296, 80.2157)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C64EA #C2EA64
analogous
#647FEA #8C64EA #CF64EA
triadic
#8C64EA #EA8C64 #64EA8C
tetradic
#8C64EA #EA647F #C2EA64 #64EACF
square
#8C64EA #EA647F #C2EA64 #64EACF
split-complementary
#8C64EA #EACF64 #7FEA64
monochromatic
#4919BA #642EE3 #8C64EA #B49AF1 #DCD0F9

Accessibility & contrast

On white

4.10
#8C64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8C64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C64EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C64EA#FFFFFF#000000##000000
##8C64EA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#117FEE
Deuteranopia (green-blind)
#257BE7
Tritanopia (blue-blind)
#73819D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8c64ea;
/* rgb */ color: rgb(140, 100, 234);
/* oklch */ color: oklch(61.0% 0.194 293.6);
Tailwind
colors: {
  custom: {
    50: '#b391f1',
    500: '#8c64ea',
    950: '#000000',
  },
}
SCSS
$custom: #8c64ea;
$custom-light: #b391f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c64ea",
  "rgb": {
    "r": 140,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 257.91,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.19393,
    "h": 293.6
  },
  "luminance": 0.2063
}

Semantic roles & 50–950 ramp

primary
#8C64EA
secondary
#DEEBBE
accent
#D80D9C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8C64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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