#8A64C2#8A64C2

#8A64C2 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.3% C 0.143 H 300.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A64C2
RGBrgb(138, 100, 194)
HSLhsl(264, 44%, 58%)
HSVhsv(264, 48%, 76%)
CMYKcmyk(28.9%, 48.5%, 0%, 23.9%)
CIE-LABlab(49.99, 34.94, -43.82)
CIE-LCHlch(49.99, 56.04, 308.57°)
OKLaboklab(58.32% 0.0731 -0.1231)
OKLCHoklch(58.32% 0.143 300.7)
XYZxyz(24.7738, 18.4126, 53.2773)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64C2 #9CC264
analogous
#646DC2 #8A64C2 #B964C2
triadic
#8A64C2 #C28A64 #64C28A
tetradic
#8A64C2 #C2646D #9CC264 #64C2B9
square
#8A64C2 #C2646D #9CC264 #64C2B9
split-complementary
#8A64C2 #C2B964 #6DC264
monochromatic
#4F307B #6B42A7 #8A64C2 #AB90D3 #CCBCE5

Accessibility & contrast

On white

4.48
#8A64C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A64C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64C2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64C2#FFFFFF#000000##000000
##8A64C21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#5076C0
Tritanopia (blue-blind)
#7F758A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a64c2;
/* rgb */ color: rgb(138, 100, 194);
/* oklch */ color: oklch(58.3% 0.143 300.7);
Tailwind
colors: {
  custom: {
    50: '#af91d5',
    500: '#8a64c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a64c2;
$custom-light: #af91d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64c2",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 264.255,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.1432,
    "h": 300.7
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#8A64C2
secondary
#C5D4AE
accent
#D355A0
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110D14
muted
#807D83

Preview Lab

Preview with #8A64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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