#8D64E3#8D64E3

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

Color values

HEX#8D64E3
RGBrgb(141, 100, 227)
HSLhsl(259, 69%, 64%)
HSVhsv(259, 56%, 89%)
CMYKcmyk(37.9%, 55.9%, 0%, 11%)
CIE-LABlab(52.20, 44.19, -59.07)
CIE-LCHlch(52.20, 73.77, 306.80°)
OKLaboklab(60.65% 0.0789 -0.1677)
OKLCHoklch(60.65% 0.185 295.2)
XYZxyz(29.4032, 20.3225, 75.0316)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E3 #BAE364
analogous
#647BE3 #8D64E3 #CD64E3
triadic
#8D64E3 #E38D64 #64E38D
tetradic
#8D64E3 #E3647B #BAE364 #64E3CD
square
#8D64E3 #E3647B #BAE364 #64E3CD
split-complementary
#8D64E3 #E3CD64 #7BE364
monochromatic
#4D1FAD #6730DA #8D64E3 #B398EC #D9CCF6

Accessibility & contrast

On white

4.15
#8D64E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8D64E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64E3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64E3#FFFFFF#000000##000000
##8D64E31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE7
Deuteranopia (green-blind)
#327BE0
Tritanopia (blue-blind)
#787F9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d64e3;
/* rgb */ color: rgb(141, 100, 227);
/* oklch */ color: oklch(60.6% 0.185 295.2);
Tailwind
colors: {
  custom: {
    50: '#b391ec',
    500: '#8d64e3',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e3;
$custom-light: #b391ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e3",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 259.37,
    "s": 69.399,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.18536,
    "h": 295.2
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#8D64E3
secondary
#D9E8BB
accent
#D11494
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64E3

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

Preview Lab → · Contrast checker → · Palette generator →

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