#8C64EB#8C64EB

#8C64EB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.1% C 0.195 H 293.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8C64EB
RGBrgb(140, 100, 235)
HSLhsl(258, 77%, 66%)
HSVhsv(258, 57%, 92%)
CMYKcmyk(40.4%, 57.4%, 0%, 7.8%)
CIE-LABlab(52.61, 46.09, -62.92)
CIE-LCHlch(52.61, 77.99, 306.23°)
OKLaboklab(61.08% 0.0776 -0.179)
OKLCHoklch(61.08% 0.195 293.4)
XYZxyz(30.3638, 20.6872, 80.9744)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C64EB #C3EB64
analogous
#647FEB #8C64EB #D064EB
triadic
#8C64EB #EB8C64 #64EB8C
tetradic
#8C64EB #EB647F #C3EB64 #64EBD0
square
#8C64EB #EB647F #C3EB64 #64EBD0
split-complementary
#8C64EB #EBD064 #7FEB64
monochromatic
#4918BC #642EE4 #8C64EB #B49AF2 #DCD0F9

Accessibility & contrast

On white

4.09
#8C64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8C64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C64EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C64EB#FFFFFF#000000##000000
##8C64EB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7FEF
Deuteranopia (green-blind)
#237BE8
Tritanopia (blue-blind)
#73819E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8c64eb;
/* rgb */ color: rgb(140, 100, 235);
/* oklch */ color: oklch(61.1% 0.195 293.4);
Tailwind
colors: {
  custom: {
    50: '#b391f2',
    500: '#8c64eb',
    950: '#000000',
  },
}
SCSS
$custom: #8c64eb;
$custom-light: #b391f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c64eb",
  "rgb": {
    "r": 140,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 257.778,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61082,
    "c": 0.19515,
    "h": 293.4
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#8C64EB
secondary
#DFECBF
accent
#D90C9D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8C64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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