#8D64E8#8D64E8

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

Color values

HEX#8D64E8
RGBrgb(141, 100, 232)
HSLhsl(259, 74%, 65%)
HSVhsv(259, 57%, 91%)
CMYKcmyk(39.2%, 56.9%, 0%, 9%)
CIE-LABlab(52.51, 45.51, -61.38)
CIE-LCHlch(52.51, 76.41, 306.56°)
OKLaboklab(60.98% 0.0789 -0.1745)
OKLCHoklch(60.98% 0.192 294.3)
XYZxyz(30.1033, 20.6026, 78.7189)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E8 #BFE864
analogous
#647DE8 #8D64E8 #CF64E8
triadic
#8D64E8 #E88D64 #64E88D
tetradic
#8D64E8 #E8647D #BFE864 #64E8CF
square
#8D64E8 #E8647D #BFE864 #64E8CF
split-complementary
#8D64E8 #E8CF64 #7DE864
monochromatic
#4B1BB7 #662FE0 #8D64E8 #B499F0 #DBCFF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D64E8#FFFFFF#000000##000000
##8D64E81.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)
#187FEC
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#76809C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d64e8;
/* rgb */ color: rgb(141, 100, 232);
/* oklch */ color: oklch(61.0% 0.192 294.3);
Tailwind
colors: {
  custom: {
    50: '#b391f0',
    500: '#8d64e8',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e8;
$custom-light: #b391f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e8",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 258.636,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.19153,
    "h": 294.3
  },
  "luminance": 0.20603
}

Semantic roles & 50–950 ramp

primary
#8D64E8
secondary
#DCEABE
accent
#D60F98
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8D64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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