#8D64EB#8D64EB

#8D64EB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.2% C 0.195 H 293.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D64EB
RGBrgb(141, 100, 235)
HSLhsl(258, 77%, 66%)
HSVhsv(258, 57%, 92%)
CMYKcmyk(40%, 57.4%, 0%, 7.8%)
CIE-LABlab(52.70, 46.31, -62.75)
CIE-LCHlch(52.70, 77.99, 306.42°)
OKLaboklab(61.18% 0.0789 -0.1785)
OKLCHoklch(61.18% 0.195 293.8)
XYZxyz(30.5331, 20.7745, 80.9823)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64EB #C2EB64
analogous
#647EEB #8D64EB #D064EB
triadic
#8D64EB #EB8D64 #64EB8D
tetradic
#8D64EB #EB647E #C2EB64 #64EBD0
square
#8D64EB #EB647E #C2EB64 #64EBD0
split-complementary
#8D64EB #EBD064 #7EEB64
monochromatic
#4A18BC #652EE4 #8D64EB #B59AF2 #DDD0F9

Accessibility & contrast

On white

4.07
#8D64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8D64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64EB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64EB#FFFFFF#000000##000000
##8D64EB1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7FEF
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#74819E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d64eb;
/* rgb */ color: rgb(141, 100, 235);
/* oklch */ color: oklch(61.2% 0.195 293.8);
Tailwind
colors: {
  custom: {
    50: '#b491f2',
    500: '#8d64eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d64eb;
$custom-light: #b491f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64eb",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 258.222,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.19521,
    "h": 293.8
  },
  "luminance": 0.20775
}

Semantic roles & 50–950 ramp

primary
#8D64EB
secondary
#DEECBF
accent
#D90C9B
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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