#8E64CD#8E64CD

#8E64CD is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.4% C 0.158 H 300.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E64CD
RGBrgb(142, 100, 205)
HSLhsl(264, 51%, 60%)
HSVhsv(264, 51%, 80%)
CMYKcmyk(30.7%, 51.2%, 0%, 19.6%)
CIE-LABlab(51.00, 38.77, -48.50)
CIE-LCHlch(51.00, 62.09, 308.64°)
OKLaboklab(59.37% 0.0792 -0.1367)
OKLCHoklch(59.37% 0.158 300.1)
XYZxyz(26.7294, 19.2727, 60.0576)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64CD #A3CD64
analogous
#646ECD #8E64CD #C364CD
triadic
#8E64CD #CD8E64 #64CD8E
tetradic
#8E64CD #CD646E #A3CD64 #64CDC3
square
#8E64CD #CD646E #A3CD64 #64CDC3
split-complementary
#8E64CD #CDC364 #6ECD64
monochromatic
#522D8A #6D3BB8 #8E64CD #B092DC #D1C1EB

Accessibility & contrast

On white

4.33
#8E64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8E64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64CD#FFFFFF#000000##000000
##8E64CD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#81788F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e64cd;
/* rgb */ color: rgb(142, 100, 205);
/* oklch */ color: oklch(59.4% 0.158 300.1);
Tailwind
colors: {
  custom: {
    50: '#b291dd',
    500: '#8e64cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e64cd;
$custom-light: #b291dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64cd",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 264,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.15798,
    "h": 300.1
  },
  "luminance": 0.19273
}

Semantic roles & 50–950 ramp

primary
#8E64CD
secondary
#CADBB2
accent
#DB4DA2
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8E64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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