#8B64EC#8B64EC

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

Color values

HEX#8B64EC
RGBrgb(139, 100, 236)
HSLhsl(257, 78%, 66%)
HSVhsv(257, 58%, 93%)
CMYKcmyk(41.1%, 57.6%, 0%, 7.5%)
CIE-LABlab(52.57, 46.14, -63.53)
CIE-LCHlch(52.57, 78.52, 305.99°)
OKLaboklab(61.06% 0.0763 -0.1809)
OKLCHoklch(61.06% 0.196 292.9)
XYZxyz(30.3409, 20.6586, 81.7295)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64EC #C5EC64
analogous
#6481EC #8B64EC #CF64EC
triadic
#8B64EC #EC8B64 #64EC8B
tetradic
#8B64EC #EC6481 #C5EC64 #64ECCF
square
#8B64EC #EC6481 #C5EC64 #64ECCF
split-complementary
#8B64EC #ECCF64 #81EC64
monochromatic
#4717BE #622DE5 #8B64EC #B49BF3 #DDD1F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B64EC#FFFFFF#000000##000000
##8B64EC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#057FF0
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#71829E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b64ec;
/* rgb */ color: rgb(139, 100, 236);
/* oklch */ color: oklch(61.1% 0.196 292.9);
Tailwind
colors: {
  custom: {
    50: '#b391f3',
    500: '#8b64ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b64ec;
$custom-light: #b391f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64ec",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 257.206,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.19634,
    "h": 292.9
  },
  "luminance": 0.20659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B64EC

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

Preview Lab → · Contrast checker → · Palette generator →

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