#8A64D2#8A64D2

#8A64D2 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.3% C 0.164 H 297.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A64D2
RGBrgb(138, 100, 210)
HSLhsl(261, 55%, 61%)
HSVhsv(261, 52%, 82%)
CMYKcmyk(34.3%, 52.4%, 0%, 17.6%)
CIE-LABlab(50.89, 39.03, -51.56)
CIE-LCHlch(50.89, 64.67, 307.13°)
OKLaboklab(59.28% 0.0745 -0.1458)
OKLCHoklch(59.28% 0.164 297.1)
XYZxyz(26.6684, 19.1704, 63.2555)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64D2 #ACD264
analogous
#6475D2 #8A64D2 #C164D2
triadic
#8A64D2 #D28A64 #64D28A
tetradic
#8A64D2 #D26475 #ACD264 #64D2C1
square
#8A64D2 #D26475 #ACD264 #64D2C1
split-complementary
#8A64D2 #D2C164 #75D264
monochromatic
#4E2A91 #6738C1 #8A64D2 #AE93E0 #D2C3EE

Accessibility & contrast

On white

4.34
#8A64D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8A64D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64D2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64D2#FFFFFF#000000##000000
##8A64D21.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#7A7A91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a64d2;
/* rgb */ color: rgb(138, 100, 210);
/* oklch */ color: oklch(59.3% 0.164 297.1);
Tailwind
colors: {
  custom: {
    50: '#b091e0',
    500: '#8a64d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a64d2;
$custom-light: #b091e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64d2",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 260.727,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.16371,
    "h": 297.1
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

primary
#8A64D2
secondary
#CFDEB4
accent
#C3238B
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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