#8A64C8#8A64C8

#8A64C8 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.7% C 0.151 H 299.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A64C8
RGBrgb(138, 100, 200)
HSLhsl(263, 48%, 59%)
HSVhsv(263, 50%, 78%)
CMYKcmyk(31%, 50%, 0%, 21.6%)
CIE-LABlab(50.32, 36.46, -46.75)
CIE-LCHlch(50.32, 59.28, 307.95°)
OKLaboklab(58.67% 0.0738 -0.1317)
OKLCHoklch(58.67% 0.151 299.3)
XYZxyz(25.4612, 18.6875, 56.8980)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64C8 #A2C864
analogous
#6470C8 #8A64C8 #BC64C8
triadic
#8A64C8 #C88A64 #64C88A
tetradic
#8A64C8 #C86470 #A2C864 #64C8BC
square
#8A64C8 #C86470 #A2C864 #64C8BC
split-complementary
#8A64C8 #C8BC64 #70C864
monochromatic
#4F2F83 #6A3FB0 #8A64C8 #AC91D8 #CEBEE8

Accessibility & contrast

On white

4.43
#8A64C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A64C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64C8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64C8#FFFFFF#000000##000000
##8A64C81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CB
Deuteranopia (green-blind)
#4C77C6
Tritanopia (blue-blind)
#7D778D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a64c8;
/* rgb */ color: rgb(138, 100, 200);
/* oklch */ color: oklch(58.7% 0.151 299.3);
Tailwind
colors: {
  custom: {
    50: '#af91d9',
    500: '#8a64c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a64c8;
$custom-light: #af91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64c8",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 262.8,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.15093,
    "h": 299.3
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#8A64C8
secondary
#C9D8B0
accent
#D751A4
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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