#8E64CF#8E64CF

#8E64CF is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.5% C 0.161 H 299.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8E64CF
RGBrgb(142, 100, 207)
HSLhsl(264, 53%, 60%)
HSVhsv(264, 52%, 81%)
CMYKcmyk(31.4%, 51.7%, 0%, 18.8%)
CIE-LABlab(51.12, 39.27, -49.46)
CIE-LCHlch(51.12, 63.15, 308.45°)
OKLaboklab(59.49% 0.0794 -0.1395)
OKLCHoklch(59.49% 0.161 299.6)
XYZxyz(26.9723, 19.3699, 61.3371)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64CF #A5CF64
analogous
#6470CF #8E64CF #C364CF
triadic
#8E64CF #CF8E64 #64CF8E
tetradic
#8E64CF #CF6470 #A5CF64 #64CFC3
square
#8E64CF #CF6470 #A5CF64 #64CFC3
split-complementary
#8E64CF #CFC364 #70CF64
monochromatic
#522C8D #6D3ABC #8E64CF #B093DD #D2C1EC

Accessibility & contrast

On white

4.31
#8E64CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8E64CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64CF#FFFFFF#000000##000000
##8E64CF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#817990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e64cf;
/* rgb */ color: rgb(142, 100, 207);
/* oklch */ color: oklch(59.5% 0.161 299.6);
Tailwind
colors: {
  custom: {
    50: '#b291de',
    500: '#8e64cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e64cf;
$custom-light: #b291de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64cf",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 263.551,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.1605,
    "h": 299.6
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#8E64CF
secondary
#CCDCB3
accent
#C02583
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8E64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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