#8A64BD#8A64BD

#8A64BD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.137 H 302.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A64BD
RGBrgb(138, 100, 189)
HSLhsl(266, 40%, 57%)
HSVhsv(266, 47%, 74%)
CMYKcmyk(27%, 47.1%, 0%, 25.9%)
CIE-LABlab(49.73, 33.69, -41.36)
CIE-LCHlch(49.73, 53.34, 309.17°)
OKLaboklab(58.04% 0.0725 -0.1159)
OKLCHoklch(58.04% 0.137 302)
XYZxyz(24.2217, 18.1917, 50.3695)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64BD #97BD64
analogous
#646BBD #8A64BD #B764BD
triadic
#8A64BD #BD8A64 #64BD8A
tetradic
#8A64BD #BD646B #97BD64 #64BDB7
square
#8A64BD #BD646B #97BD64 #64BDB7
split-complementary
#8A64BD #BDB764 #6BBD64
monochromatic
#4E3275 #6B44A0 #8A64BD #AA8FCF #CBBAE2

Accessibility & contrast

On white

4.53
#8A64BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A64BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64BD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64BD#FFFFFF#000000##000000
##8A64BD1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C0
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#817487
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a64bd;
/* rgb */ color: rgb(138, 100, 189);
/* oklch */ color: oklch(58.0% 0.137 302.0);
Tailwind
colors: {
  custom: {
    50: '#ae91d1',
    500: '#8a64bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a64bd;
$custom-light: #ae91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64bd",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 265.618,
    "s": 40.271,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58039,
    "c": 0.13675,
    "h": 302
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#8A64BD
secondary
#C1D1AC
accent
#D0589D
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100D14
muted
#7F7D82

Preview Lab

Preview with #8A64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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