#8B64EB#8B64EB

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

Color values

HEX#8B64EB
RGBrgb(139, 100, 235)
HSLhsl(257, 77%, 66%)
HSVhsv(257, 57%, 92%)
CMYKcmyk(40.9%, 57.4%, 0%, 7.8%)
CIE-LABlab(52.51, 45.87, -63.07)
CIE-LCHlch(52.51, 77.99, 306.03°)
OKLaboklab(60.99% 0.0764 -0.1795)
OKLCHoklch(60.99% 0.195 293)
XYZxyz(30.1960, 20.6007, 80.9665)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64EB #C4EB64
analogous
#6480EB #8B64EB #CE64EB
triadic
#8B64EB #EB8B64 #64EB8B
tetradic
#8B64EB #EB6480 #C4EB64 #64EBCE
square
#8B64EB #EB6480 #C4EB64 #64EBCE
split-complementary
#8B64EB #EBCE64 #80EB64
monochromatic
#4818BC #622EE4 #8B64EB #B49AF2 #DCD0F9

Accessibility & contrast

On white

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

On black

5.12
#8B64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64EB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64EB#FFFFFF#000000##000000
##8B64EB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7FEF
Deuteranopia (green-blind)
#217BE8
Tritanopia (blue-blind)
#71819E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b64eb;
/* rgb */ color: rgb(139, 100, 235);
/* oklch */ color: oklch(61.0% 0.195 293.0);
Tailwind
colors: {
  custom: {
    50: '#b291f2',
    500: '#8b64eb',
    950: '#000000',
  },
}
SCSS
$custom: #8b64eb;
$custom-light: #b291f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64eb",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 257.333,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60989,
    "c": 0.19511,
    "h": 293
  },
  "luminance": 0.20601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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