#8D64E7#8D64E7

#8D64E7 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.190 H 294.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D64E7
RGBrgb(141, 100, 231)
HSLhsl(259, 73%, 65%)
HSVhsv(259, 57%, 91%)
CMYKcmyk(39%, 56.7%, 0%, 9.4%)
CIE-LABlab(52.45, 45.25, -60.92)
CIE-LCHlch(52.45, 75.88, 306.60°)
OKLaboklab(60.91% 0.0789 -0.1731)
OKLCHoklch(60.91% 0.19 294.5)
XYZxyz(29.9617, 20.5459, 77.9730)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E7 #BEE764
analogous
#647CE7 #8D64E7 #CF64E7
triadic
#8D64E7 #E78D64 #64E78D
tetradic
#8D64E7 #E7647C #BEE764 #64E7CF
square
#8D64E7 #E7647C #BEE764 #64E7CF
split-complementary
#8D64E7 #E7CF64 #7CE764
monochromatic
#4C1CB5 #662FDF #8D64E7 #B499EF #DBCEF7

Accessibility & contrast

On white

4.11
#8D64E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8D64E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64E7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64E7#FFFFFF#000000##000000
##8D64E71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7EEB
Deuteranopia (green-blind)
#2C7BE4
Tritanopia (blue-blind)
#76809C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d64e7;
/* rgb */ color: rgb(141, 100, 231);
/* oklch */ color: oklch(60.9% 0.190 294.5);
Tailwind
colors: {
  custom: {
    50: '#b391ef',
    500: '#8d64e7',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e7;
$custom-light: #b391ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e7",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 258.779,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.19029,
    "h": 294.5
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#8D64E7
secondary
#DCEABD
accent
#D51098
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8D64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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