#8D64EF#8D64EF

#8D64EF is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.4% C 0.200 H 293.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D64EF
RGBrgb(141, 100, 239)
HSLhsl(258, 81%, 66%)
HSVhsv(258, 58%, 94%)
CMYKcmyk(41%, 58.2%, 0%, 6.3%)
CIE-LABlab(52.96, 47.37, -64.58)
CIE-LCHlch(52.96, 80.09, 306.26°)
OKLaboklab(61.45% 0.0788 -0.1839)
OKLCHoklch(61.45% 0.2 293.2)
XYZxyz(31.1175, 21.0082, 84.0601)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64EF #C6EF64
analogous
#6481EF #8D64EF #D364EF
triadic
#8D64EF #EF8D64 #64EF8D
tetradic
#8D64EF #EF6481 #C6EF64 #64EFD3
square
#8D64EF #EF6481 #C6EF64 #64EFD3
split-complementary
#8D64EF #EFD364 #81EF64
monochromatic
#4814C4 #642DE9 #8D64EF #B69BF5 #DFD3FA

Accessibility & contrast

On white

4.04
#8D64EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8D64EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64EF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64EF#FFFFFF#000000##000000
##8D64EF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#7383A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d64ef;
/* rgb */ color: rgb(141, 100, 239);
/* oklch */ color: oklch(61.4% 0.200 293.2);
Tailwind
colors: {
  custom: {
    50: '#b492f5',
    500: '#8d64ef',
    950: '#000000',
  },
}
SCSS
$custom: #8d64ef;
$custom-light: #b492f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64ef",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 257.698,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.2001,
    "h": 293.2
  },
  "luminance": 0.21009
}

Semantic roles & 50–950 ramp

primary
#8D64EF
secondary
#E1EEC1
accent
#DE089F
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D64EF

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

Preview Lab → · Contrast checker → · Palette generator →

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