#8A64B5#8A64B5

#8A64B5 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.6% C 0.126 H 304.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A64B5
RGBrgb(138, 100, 181)
HSLhsl(268, 35%, 55%)
HSVhsv(268, 45%, 71%)
CMYKcmyk(23.8%, 44.8%, 0%, 29%)
CIE-LABlab(49.32, 31.73, -37.37)
CIE-LCHlch(49.32, 49.02, 310.33°)
OKLaboklab(57.6% 0.0714 -0.1043)
OKLCHoklch(57.6% 0.126 304.4)
XYZxyz(23.3771, 17.8539, 45.9217)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64B5 #8FB564
analogous
#6467B5 #8A64B5 #B264B5
triadic
#8A64B5 #B58A64 #64B58A
tetradic
#8A64B5 #B56467 #8FB564 #64B5B2
square
#8A64B5 #B56467 #8FB564 #64B5B2
split-complementary
#8A64B5 #B5B264 #67B564
monochromatic
#4E336B #6C4795 #8A64B5 #A98DC9 #C9B7DD

Accessibility & contrast

On white

4.59
#8A64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8A64B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A64B5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64B5#FFFFFF#000000##FFFFFF
##8A64B51.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#837284
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a64b5;
/* rgb */ color: rgb(138, 100, 181);
/* oklch */ color: oklch(57.6% 0.126 304.4);
Tailwind
colors: {
  custom: {
    50: '#ae91cb',
    500: '#8a64b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a64b5;
$custom-light: #ae91cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64b5",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 268.148,
    "s": 35.371,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.12641,
    "h": 304.4
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#8A64B5
secondary
#BBCBA9
accent
#CB5C97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100D13
muted
#7F7D82

Preview Lab

Preview with #8A64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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