#8D64E2#8D64E2

#8D64E2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.184 H 295.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8D64E2
RGBrgb(141, 100, 226)
HSLhsl(260, 68%, 64%)
HSVhsv(260, 56%, 89%)
CMYKcmyk(37.6%, 55.8%, 0%, 11.4%)
CIE-LABlab(52.14, 43.93, -58.60)
CIE-LCHlch(52.14, 73.24, 306.86°)
OKLaboklab(60.58% 0.0789 -0.1663)
OKLCHoklch(60.58% 0.184 295.4)
XYZxyz(29.2656, 20.2675, 74.3069)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E2 #B9E264
analogous
#647AE2 #8D64E2 #CC64E2
triadic
#8D64E2 #E28D64 #64E28D
tetradic
#8D64E2 #E2647A #B9E264 #64E2CC
square
#8D64E2 #E2647A #B9E264 #64E2CC
split-complementary
#8D64E2 #E2CC64 #7AE264
monochromatic
#4D20AC #6730D8 #8D64E2 #B398EC #D9CBF5

Accessibility & contrast

On white

4.16
#8D64E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8D64E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64E2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64E2#FFFFFF#000000##000000
##8D64E21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#347BDF
Tritanopia (blue-blind)
#787E99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d64e2;
/* rgb */ color: rgb(141, 100, 226);
/* oklch */ color: oklch(60.6% 0.184 295.4);
Tailwind
colors: {
  custom: {
    50: '#b391ec',
    500: '#8d64e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e2;
$custom-light: #b391ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e2",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 259.524,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.18411,
    "h": 295.4
  },
  "luminance": 0.20268
}

Semantic roles & 50–950 ramp

primary
#8D64E2
secondary
#D9E7BB
accent
#D01593
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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