#8A64BE#8A64BE

#8A64BE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.1% C 0.138 H 301.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A64BE
RGBrgb(138, 100, 190)
HSLhsl(265, 41%, 57%)
HSVhsv(265, 47%, 75%)
CMYKcmyk(27.4%, 47.4%, 0%, 25.5%)
CIE-LABlab(49.78, 33.94, -41.85)
CIE-LCHlch(49.78, 53.88, 309.04°)
OKLaboklab(58.1% 0.0727 -0.1174)
OKLCHoklch(58.1% 0.138 301.8)
XYZxyz(24.3306, 18.2353, 50.9432)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64BE #98BE64
analogous
#646BBE #8A64BE #B764BE
triadic
#8A64BE #BE8A64 #64BE8A
tetradic
#8A64BE #BE646B #98BE64 #64BEB7
square
#8A64BE #BE646B #98BE64 #64BEB7
split-complementary
#8A64BE #BEB764 #6BBE64
monochromatic
#4E3276 #6B44A1 #8A64BE #AB8FD0 #CBBAE2

Accessibility & contrast

On white

4.52
#8A64BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8A64BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64BE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64BE#FFFFFF#000000##000000
##8A64BE1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C1
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#807488
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a64be;
/* rgb */ color: rgb(138, 100, 190);
/* oklch */ color: oklch(58.1% 0.138 301.8);
Tailwind
colors: {
  custom: {
    50: '#ae91d2',
    500: '#8a64be',
    950: '#000000',
  },
}
SCSS
$custom: #8a64be;
$custom-light: #ae91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64be",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 190
  },
  "hsl": {
    "h": 265.333,
    "s": 40.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.13804,
    "h": 301.8
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#8A64BE
secondary
#C2D1AD
accent
#D1579D
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100D14
muted
#7F7D82

Preview Lab

Preview with #8A64BE

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

Preview Lab → · Contrast checker → · Palette generator →

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