#8A64CB#8A64CB

#8A64CB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.9% C 0.155 H 298.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A64CB
RGBrgb(138, 100, 203)
HSLhsl(262, 50%, 59%)
HSVhsv(262, 51%, 80%)
CMYKcmyk(32%, 50.7%, 0%, 20.4%)
CIE-LABlab(50.49, 37.22, -48.20)
CIE-LCHlch(50.49, 60.90, 307.68°)
OKLaboklab(58.85% 0.074 -0.1359)
OKLCHoklch(58.85% 0.155 298.6)
XYZxyz(25.8153, 18.8292, 58.7627)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64CB #A5CB64
analogous
#6472CB #8A64CB #BE64CB
triadic
#8A64CB #CB8A64 #64CB8A
tetradic
#8A64CB #CB6472 #A5CB64 #64CBBE
square
#8A64CB #CB6472 #A5CB64 #64CBBE
split-complementary
#8A64CB #CBBE64 #72CB64
monochromatic
#4F2D87 #693DB5 #8A64CB #AD92DA #CFC0EA

Accessibility & contrast

On white

4.41
#8A64CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8A64CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64CB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64CB#FFFFFF#000000##000000
##8A64CB1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#7C788E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a64cb;
/* rgb */ color: rgb(138, 100, 203);
/* oklch */ color: oklch(58.9% 0.155 298.6);
Tailwind
colors: {
  custom: {
    50: '#af91db',
    500: '#8a64cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a64cb;
$custom-light: #af91db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64cb",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 262.136,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.15477,
    "h": 298.6
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#8A64CB
secondary
#CBD9B1
accent
#D94FA6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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