#8D64F5#8D64F5

#8D64F5 is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 61.9% C 0.207 H 292.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8D64F5
RGBrgb(141, 100, 245)
HSLhsl(257, 88%, 68%)
HSVhsv(257, 59%, 96%)
CMYKcmyk(42.4%, 59.2%, 0%, 3.9%)
CIE-LABlab(53.35, 48.98, -67.29)
CIE-LCHlch(53.35, 83.23, 306.05°)
OKLaboklab(61.86% 0.0786 -0.1919)
OKLCHoklch(61.86% 0.207 292.3)
XYZxyz(32.0186, 21.3687, 88.8061)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64F5 #CCF564
analogous
#6483F5 #8D64F5 #D664F5
triadic
#8D64F5 #F58D64 #64F58D
tetradic
#8D64F5 #F56483 #CCF564 #64F5D6
square
#8D64F5 #F56483 #CCF564 #64F5D6
split-complementary
#8D64F5 #F5D664 #83F564
monochromatic
#450DD1 #632BF1 #8D64F5 #B79DF9 #E2D7FC

Accessibility & contrast

On white

3.98
#8D64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8D64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64F5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64F5#FFFFFF#000000##000000
##8D64F51.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#7084A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d64f5;
/* rgb */ color: rgb(141, 100, 245);
/* oklch */ color: oklch(61.9% 0.207 292.3);
Tailwind
colors: {
  custom: {
    50: '#b592f9',
    500: '#8d64f5',
    950: '#000000',
  },
}
SCSS
$custom: #8d64f5;
$custom-light: #b592f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64f5",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 256.966,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.20739,
    "h": 292.3
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#8D64F5
secondary
#E4F1C4
accent
#E401A4
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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